aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-03 19:57:20 -0700
committerFriendika <info@friendika.com>2011-07-03 19:57:20 -0700
commit07ea67e33b458dd2d2d88efcaaccf9d00576968d (patch)
tree53196c4cc52bc7c9c57f2d9e9d37929f4796e4cc /mod
parent5ceeb6752d645036b832077d88b71a8825952322 (diff)
downloadvolse-hubzilla-07ea67e33b458dd2d2d88efcaaccf9d00576968d.tar.gz
volse-hubzilla-07ea67e33b458dd2d2d88efcaaccf9d00576968d.tar.bz2
volse-hubzilla-07ea67e33b458dd2d2d88efcaaccf9d00576968d.zip
removed stray debug statement
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 2c896e32f..3e0ec5802 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -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