mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:00:17 +00:00
removed stray debug statement
This commit is contained in:
parent
5ceeb6752d
commit
07ea67e33b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue