diff options
Diffstat (limited to 'views/default/graphics/ajax_loader.php')
-rw-r--r-- | views/default/graphics/ajax_loader.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/default/graphics/ajax_loader.php b/views/default/graphics/ajax_loader.php index 77c1fbf4c..1a9046178 100644 --- a/views/default/graphics/ajax_loader.php +++ b/views/default/graphics/ajax_loader.php @@ -13,8 +13,9 @@ if (isset($vars['id'])) { $id = "id=\"{$vars['id']}\""; } -$hidden = 'hidden'; -if (isset($vars['hidden']) && $vars['hidden'] == false) { +if (elgg_extract('hidden', $vars, true)) { + $hidden = 'hidden'; +} else { $hidden = ''; } |