Actions
Bug #2287
closedJ1.6: JFactory::getUser()->groups not always array?
Description
Warning: array_values() [function.array-values]: The argument should be an array in /home/xxxxx/public_html/xxxxx/administrator/components/com_comprofiler/plugin.foundation.php on line 3234
I could never duplicate, but we should add additional checks or type casting or maybe both to ensure the value is always an array. As groups is a public var and is easily overwritten by other extensions this could be the problem.
Files
Actions
#1
Updated by krileon almost 14 years ago
- File 2287a.patch 2287a.patch added
- File 2287b.patch 2287b.patch added
- Status changed from New to Resolved
- Assignee changed from krileon to beat
- % Done changed from 0 to 100
Updated by beat almost 14 years ago
- Status changed from Resolved to Closed
Fixed as suggested in r1433 , except for patch b line 1098 : don't agree that it's needed. CB gids is clearly always array looking at code above.
Actions