]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixed a notice when accessing $CONFIG->icon_sizes
authorcash <cash.costello@gmail.com>
Sun, 2 Jun 2013 23:40:22 +0000 (19:40 -0400)
committercash <cash.costello@gmail.com>
Sun, 2 Jun 2013 23:40:22 +0000 (19:40 -0400)
engine/lib/views.php

index c4b349fc6d6d99a4a30981aa31fb34c4bedefc3e..65ba2020445d54e50298ec4df01099df6c829632 100644 (file)
@@ -1638,7 +1638,7 @@ function elgg_views_boot() {
        }
 
        // set default icon sizes - can be overridden in settings.php or with plugin
-       if (!$CONFIG->icon_sizes) {
+       if (!isset($CONFIG->icon_sizes)) {
                $icon_sizes = array(
                        'topbar' => array('w' => 16, 'h' => 16, 'square' => TRUE, 'upscale' => TRUE),
                        'tiny' => array('w' => 25, 'h' => 25, 'square' => TRUE, 'upscale' => TRUE),