aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-04 20:11:14 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-04 20:11:14 -0700
commitb294ff63024da5629a0d7b6f66aaa9af6d1dd400 (patch)
treedc2493b48a1f962c499ce592c63304d2b32f1efe /mod
parentd090033a0aab7197af9dc7f3e2cf21ebdf042b21 (diff)
downloadvolse-hubzilla-b294ff63024da5629a0d7b6f66aaa9af6d1dd400.tar.gz
volse-hubzilla-b294ff63024da5629a0d7b6f66aaa9af6d1dd400.tar.bz2
volse-hubzilla-b294ff63024da5629a0d7b6f66aaa9af6d1dd400.zip
fixed zero uid in imported contact photo
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_confirm.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index 263c88f67..a8a4b3b99 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -297,13 +297,13 @@ function dfrn_confirm_post(&$a) {
$hash = hash('md5',uniqid(mt_rand(),true));
- $r = $img->store($local_uid, $contact_id, $hash, $filename, t('Contact Photos'), 4 );
+ $r = $img->store($uid, $contact_id, $hash, $filename, t('Contact Photos'), 4 );
if($r === false)
$photo_failure = true;
$img->scaleImage(80);
- $r = $img->store($local_uid, $contact_id, $hash, $filename, t('Contact Photos'), 5 );
+ $r = $img->store($uid, $contact_id, $hash, $filename, t('Contact Photos'), 5 );
if($r === false)
$photo_failure = true;