aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-08 21:03:08 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-08 21:03:08 -0700
commitd11c1c63c02e88b3c73336741a2240ccc18d3b02 (patch)
treeaf32bf9355c99c578f696aec91f66374acd82208 /mod/photos.php
parent0bcd5522315649c8d4652b8bfaa9bec328b9d548 (diff)
downloadvolse-hubzilla-d11c1c63c02e88b3c73336741a2240ccc18d3b02.tar.gz
volse-hubzilla-d11c1c63c02e88b3c73336741a2240ccc18d3b02.tar.bz2
volse-hubzilla-d11c1c63c02e88b3c73336741a2240ccc18d3b02.zip
lots of fixes - most recent photo updates for contacts
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 81d071829..7b07f6729 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -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));