From: cash Date: Sun, 2 Jun 2013 23:40:22 +0000 (-0400) Subject: fixed a notice when accessing $CONFIG->icon_sizes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b5860b972c67be3b398d64e622bfd367b2a9825c;p=lorea%2Felgg.git fixed a notice when accessing $CONFIG->icon_sizes --- diff --git a/engine/lib/views.php b/engine/lib/views.php index c4b349fc6..65ba20204 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -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),