Fixed Warning in the ACL check

Fixed Warning: Invalid argument supplied for foreach() in libraries/cms/helper/content.php on line 121 if you have a category with a section (e.g. option=com_categories&extension=com_foo.bar)