removed stray debug statement

This commit is contained in:
Friendika 2011-07-03 19:57:20 -07:00
parent 5ceeb6752d
commit 07ea67e33b
1 changed files with 2 additions and 1 deletions

View File

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