aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-06-02 19:40:22 -0400
committercash <cash.costello@gmail.com>2013-06-02 19:40:22 -0400
commitb5860b972c67be3b398d64e622bfd367b2a9825c (patch)
treeba4f4563bd518468bbcc79266c6272ce70c1b070
parent50dee6fe09a1f600089b1684f6f8f91599c365a1 (diff)
downloadelgg-b5860b972c67be3b398d64e622bfd367b2a9825c.tar.gz
elgg-b5860b972c67be3b398d64e622bfd367b2a9825c.tar.bz2
fixed a notice when accessing $CONFIG->icon_sizes
-rw-r--r--engine/lib/views.php2
1 files changed, 1 insertions, 1 deletions
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),