diff options
author | zottel <github@zottel.net> | 2012-04-09 02:20:34 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-04-09 02:20:34 +0200 |
commit | 7cf946e004b45fdcd7e2dc513ab42c8531fe126b (patch) | |
tree | b9a2b6e2efc31ada403fb5ff56204bac376ef7d5 /mod/item.php | |
parent | 315d496290747aab8b3147dc24b822460071bb2d (diff) | |
parent | 63c881b50d1ce4da50763d8a806c68658865ca17 (diff) | |
download | volse-hubzilla-7cf946e004b45fdcd7e2dc513ab42c8531fe126b.tar.gz volse-hubzilla-7cf946e004b45fdcd7e2dc513ab42c8531fe126b.tar.bz2 volse-hubzilla-7cf946e004b45fdcd7e2dc513ab42c8531fe126b.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index 72e63865b..82fb0bf72 100644 --- a/mod/item.php +++ b/mod/item.php @@ -351,7 +351,7 @@ function item_post(&$a) { $image_uri = substr($image_uri,0, strpos($image_uri,'-')); if(! strlen($image_uri)) continue; - $srch = '<' . intval($profile_uid) . '>'; + $srch = '<' . intval($contact_record['id']) . '>'; $r = q("SELECT `id` FROM `photo` WHERE `allow_cid` = '%s' AND `allow_gid` = '' AND `deny_cid` = '' AND `deny_gid` = '' AND `resource-id` = '%s' AND `uid` = %d LIMIT 1", dbesc($srch), |