? Success

User tests: Successful: Unsuccessful:

avatar tonypartridge
tonypartridge
15 Jan 2019

Pull Request for Issue #23542

Summary of Changes

We loop on ids but input could be null or empty, make sure it’s array if it is not set.

avatar tonypartridge tonypartridge - open - 15 Jan 2019
avatar tonypartridge tonypartridge - change - 15 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jan 2019
Category com_tags Front End
avatar wlh1950
wlh1950 - comment - 24 Feb 2019

After changing the file I still get:

Invalid argument supplied for foreach() in /joomla/components/com_tags/views/tag/view.feed.php on line 36 ( foreach ($ids as $id))

avatar ReLater
ReLater - comment - 24 Feb 2019

Try (array) $app->input->get('id'); instead of $app->input->get('id', array());

avatar wlh1950
wlh1950 - comment - 26 Feb 2019

(array) $app->input->get('id'); seems to work, no warnings anymore. I'll keep an eye on it.

avatar zero-24
zero-24 - comment - 26 Feb 2019

@tonypartridge can you please apply the requested changes to the PR?

avatar Quy Quy - change - 1 Mar 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-03-01 04:04:30
Closed_By Quy
avatar joomla-cms-bot joomla-cms-bot - change - 1 Mar 2019
Closed_Date 2019-03-01 04:04:30 2019-03-01 04:04:31
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 1 Mar 2019

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23543

avatar joomla-cms-bot joomla-cms-bot - close - 1 Mar 2019
avatar Quy
Quy - comment - 1 Mar 2019

Closing in favor of PR #24051


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23543.

Add a Comment

Login with GitHub to post a comment