contact photo issues

This commit is contained in:
friendica
2012-12-06 15:52:37 -08:00
parent 7d1610197d
commit 6ed27f9503
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -528,7 +528,7 @@ class Photo {
$x = q("select id from photo where `resource_id` = '%s' and uid = %d and `xchan` = '%s' and `scale` = %d limit 1",
dbesc($rid),
intval($uid),
intval($xchan),
dbesc($xchan),
intval($scale)
);
if(count($x)) {