aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/TidypicsAlbum.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/TidypicsAlbum.php b/classes/TidypicsAlbum.php
index e36b28488..a03df2d37 100644
--- a/classes/TidypicsAlbum.php
+++ b/classes/TidypicsAlbum.php
@@ -207,7 +207,7 @@ class TidypicsAlbum extends ElggObject {
$list = unserialize($listString);
// if empty don't need to check the permissions.
- if (!$list || $list[0] == '') {
+ if (!$list) {
return array();
}