Warning: rsort() expects parameter 1 to be array, boolean given in galleria_get_library_file() (line 227 of /home/e-smith/files/ibays/anim3/html/sites/all/modules/galleria/galleria.module).

Using both dev and stable


gaele’s picture

Issue summary: View changes
    $js = glob($libpath . '/galleria-*.js');

  if (count($js) > 0) {

This happens if glob returns FALSE instead of an empty array. The correct way to check would be:

  if (is_array($js) && (count($js) > 0)) {