diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-14 11:45:05 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-14 11:45:05 -0400 |
commit | ab58e6bc96758eda0c2b293b98240fba0f305ae1 (patch) | |
tree | 7cbbad48d5bdc8e7c5d0f972a8ddc26f3d382962 | |
parent | 54707bb3188d3e29259586226631d65c49ece721 (diff) | |
download | elgg-ab58e6bc96758eda0c2b293b98240fba0f305ae1.tar.gz elgg-ab58e6bc96758eda0c2b293b98240fba0f305ae1.tar.bz2 |
removed an add check that causes albums to lose photos
-rw-r--r-- | classes/TidypicsAlbum.php | 2 |
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(); } |