diff options
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 82e1b7624..992947613 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -25,7 +25,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if(! x($_POST,'source_url')) { - $uid = ((is_array($handsfree)) ? $handsfree['uid'] : get_uid()); + $uid = ((is_array($handsfree)) ? $handsfree['uid'] : local_user()); if(! $uid) { notice( t('Permission denied.') . EOL ); |