lots of fixes - most recent photo updates for contacts
This commit is contained in:
parent
0bcd552231
commit
d11c1c63c0
15 changed files with 231 additions and 47 deletions
|
@ -375,7 +375,7 @@ function photos_post(&$a) {
|
|||
$dups = false;
|
||||
$item_hash = random_string();
|
||||
|
||||
$uri = "urn:X-dfrn:" . $a->get_hostname() . ':' . $profile_uid . ':' . $item_hash;
|
||||
$uri = "urn:X-dfrn:" . $a->get_hostname() . ':' . $_SESSION['uid'] . ':' . $item_hash;
|
||||
|
||||
$r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' LIMIT 1",
|
||||
dbesc($uri));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue