From ab58e6bc96758eda0c2b293b98240fba0f305ae1 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 14 Jul 2012 11:45:05 -0400 Subject: removed an add check that causes albums to lose photos --- classes/TidypicsAlbum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes') 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(); } -- cgit v1.2.3