• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed False array value used in XenResource_ModerationQueueHandler_Update


Well-known member
Method XenResource_ModerationQueueHandler_Update::getVisibleModerationQueueEntriesForUser

The second foreach (line 26) is using $updates AS $updates instead of $updates AS $update

It won't throw an error because $update is defined while the first foreach
foreach ($updates AS $updates)
if (!isset($resources[$update['resource_id']]))


Well-known member
Just yellow "maybe this is wrong", I need the red! ;)
You should define your own rules..:D
Most of them are useless so i ignore them but there are also IMO many of the yellow ones which are worth to be red
But they only rock in combination with php code sniffer (and php mess)