removed stray debug statement
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user