That seems to work but we are getting this on the backend:
Warning: array_merge(): Argument #2 is not an array in public_html/administrator/components/com_jofacebookgallery/helpers/jofacebookhelper.php on line 86
Warning: array_key_exists() expects parameter 2 to be array, null given in public_html/administrator/components/com_jofacebookgallery/helpers/jofacebookhelper.php on line 88
Warning: Invalid argument supplied for foreach() in public_html/administrator/components/com_jofacebookgallery/models/category.php on line 180