diff options
Diffstat (limited to 'modules/gallery/libraries/Admin_View.php')
| -rw-r--r-- | modules/gallery/libraries/Admin_View.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Admin_View.php b/modules/gallery/libraries/Admin_View.php index 83163868..62645d18 100644 --- a/modules/gallery/libraries/Admin_View.php +++ b/modules/gallery/libraries/Admin_View.php @@ -95,7 +95,7 @@ class Admin_View_Core extends Gallery_View {        $blocks = array();        foreach (module::active() as $module) {          $helper_class = "{$module->name}_theme"; -        if (method_exists($helper_class, $function)) { +        if (class_exists($helper_class) && method_exists($helper_class, $function)) {            $blocks[] = call_user_func_array(              array($helper_class, $function),              array_merge(array($this), $args));  | 
