aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 11:45:05 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 11:45:05 -0400
commitab58e6bc96758eda0c2b293b98240fba0f305ae1 (patch)
tree7cbbad48d5bdc8e7c5d0f972a8ddc26f3d382962 /classes
parent54707bb3188d3e29259586226631d65c49ece721 (diff)
downloadelgg-ab58e6bc96758eda0c2b293b98240fba0f305ae1.tar.gz
elgg-ab58e6bc96758eda0c2b293b98240fba0f305ae1.tar.bz2
removed an add check that causes albums to lose photos
Diffstat (limited to 'classes')
-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();
}