omeka/Omeka — pull request #484 by daveWid (2013-02-07 17:16:15+00:00)
Title: Making sure the plugin script directories variable is an array.

$pluginScriptDirs was giving me null sometimes, so I updated the check to make sure was have an array. Below was the error I was getting.

Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/html/digital_gallery/application/libraries/Omeka/Controller/Plugin/ViewScripts.php on line 155