Needs review
Project:
me aliases
Version:
6.x-2.7
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2010 at 18:20 UTC
Updated:
30 Jun 2010 at 18:20 UTC
While using the "Search by Page" module to search users, each user that comes up throws a PHP warning:
warning: Invalid argument supplied for foreach() in /u/sites/keithferrazzi_dev/webroot/sites/all/modules/contrib/me/me.module on line 223.
On line 223, there is a foreach check:
foreach ($router_item['load_functions'] as $index => $function) { ... }
What this patch does is place that foreach inside of a if (is_array($router_item)) { .. } check.
| Comment | File | Size | Author |
|---|---|---|---|
| me-array-check.patch | 961 bytes | Offlein |