]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
removed an add check that causes albums to lose photos
authorCash Costello <cash.costello@gmail.com>
Sat, 14 Jul 2012 15:45:05 +0000 (11:45 -0400)
committerCash Costello <cash.costello@gmail.com>
Sat, 14 Jul 2012 15:45:05 +0000 (11:45 -0400)
classes/TidypicsAlbum.php

index e36b284885c65974d508cc4d102793bcde1c579b..a03df2d3794c1e344e3fa2b049abfb73c77e9e21 100644 (file)
@@ -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();
                }