diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-25 13:47:57 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-11-25 13:47:57 -0500 |
commit | 2eb8c06a0200764787cc2dba5854e1d926e93acc (patch) | |
tree | b8109c6fb183fdacfb5412a15e5130c725648c6e /views/default/page | |
parent | 6199deaa67bebda49b78bcfd5071c362e037d58b (diff) | |
download | elgg-2eb8c06a0200764787cc2dba5854e1d926e93acc.tar.gz elgg-2eb8c06a0200764787cc2dba5854e1d926e93acc.tar.bz2 |
returning from gallery view if no items in the gallery
Diffstat (limited to 'views/default/page')
-rw-r--r-- | views/default/page/components/gallery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/page/components/gallery.php b/views/default/page/components/gallery.php index 149ceeaf8..e8b3f477e 100644 --- a/views/default/page/components/gallery.php +++ b/views/default/page/components/gallery.php @@ -16,7 +16,7 @@ */ $items = $vars['items']; -if (!is_array($items) && sizeof($items) == 0) { +if (!is_array($items) || sizeof($items) == 0) { return true; } |