diff options
author | Friendika <info@friendika.com> | 2011-06-25 19:10:38 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-25 19:10:38 -0700 |
commit | 59d9070d13949d596d24524acaef9d35e8feba8c (patch) | |
tree | de2fb7e6f68adb9abbc8259f73b38b216cd24d75 /mod/dfrn_notify.php | |
parent | 39b5263e352b8763cfc421f287751b65becf1153 (diff) | |
download | volse-hubzilla-59d9070d13949d596d24524acaef9d35e8feba8c.tar.gz volse-hubzilla-59d9070d13949d596d24524acaef9d35e8feba8c.tar.bz2 volse-hubzilla-59d9070d13949d596d24524acaef9d35e8feba8c.zip |
suggestion template
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r-- | mod/dfrn_notify.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index dd0172243..6cb4f69a0 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -171,7 +171,7 @@ function dfrn_notify_post(&$a) { $r = q("SELECT * FROM `contact` WHERE `name` = '%s' AND `url` = '%s' AND `uid` = %d LIMIT 1", dbesc($fsugg['name']), - dbesc($fsuff['url']), + dbesc($fsugg['url']), intval($fsugg['uid']) ); if(count($r)) @@ -182,7 +182,7 @@ function dfrn_notify_post(&$a) { $fid = 0; $r = q("SELECT * FROM `fcontact` WHERE `url` = '%s' AND `name` = '%s' AND `photo` = '%s' LIMIT 1", dbesc($fsugg['url']), - dbesc($fsuff['name']), + dbesc($fsugg['name']), dbesc($fsugg['photo']) ); if(count($r)) { @@ -190,13 +190,13 @@ function dfrn_notify_post(&$a) { } if(! $fid) $r = q("INSERT INTO `fcontact` ( `name`,`url`,`photo` ) VALUES ( '%s', '%s', '%s' ) ", - dbesc($fsuff['name']), + dbesc($fsugg['name']), dbesc($fsugg['url']), dbesc($fsugg['photo']) ); $r = q("SELECT * FROM `fcontact` WHERE `url` = '%s' AND `name` = '%s' AND `photo` = '%s' LIMIT 1", dbesc($fsugg['url']), - dbesc($fsuff['name']), + dbesc($fsugg['name']), dbesc($fsugg['photo']) ); if(count($r)) { |