User tests: Successful: Unsuccessful:
Pull Request for Issue #23542
We loop on ids but input could be null or empty, make sure it’s array if it is not set.
Status | New | ⇒ | Pending |
Category | ⇒ | com_tags Front End |
Try (array) $app->input->get('id');
instead of $app->input->get('id', array());
(array) $app->input->get('id'); seems to work, no warnings anymore. I'll keep an eye on it.
@tonypartridge can you please apply the requested changes to the PR?
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-01 04:04:30 |
Closed_By | ⇒ | Quy |
Closed_Date | 2019-03-01 04:04:30 | ⇒ | 2019-03-01 04:04:31 |
Closed_By | Quy | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23543
Closing in favor of PR #24051
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))