]> git.mxchange.org Git - friendica.git/commitdiff
removed stray debug statement
authorFriendika <info@friendika.com>
Mon, 4 Jul 2011 02:57:20 +0000 (19:57 -0700)
committerFriendika <info@friendika.com>
Mon, 4 Jul 2011 02:57:20 +0000 (19:57 -0700)
mod/photos.php

index 2c896e32f533276ff48638136d8f304afaa6babe..3e0ec5802e350b6857f744c02df661dbbe36f9b9 100644 (file)
@@ -25,7 +25,7 @@ function photos_init(&$a) {
                $a->data['user'] = $r[0];
 
                $sql_extra = permissions_sql($a->data['user']['uid']);
-echo "SQL=$sql_extra";
+
                $albums = q("SELECT distinct(`album`) AS `album` FROM `photo` WHERE `uid` = %d $sql_extra ",
                        intval($a->data['user']['uid'])
                );
@@ -1110,6 +1110,7 @@ function photos_content(&$a) {
                }
 
                $tags=Null;
+
                if(count($linked_items) && strlen($link_item['tag'])) {
                        $arr = explode(',',$link_item['tag']);
                        // parse tags and add links