post branch fixes

This commit is contained in:
Mike Macgirvin 2010-08-09 22:58:58 -07:00
parent d11c1c63c0
commit 6fa5557994
7 changed files with 38 additions and 11 deletions

View file

@ -283,7 +283,7 @@ function dfrn_request_post(&$a) {
// find the contact record we just created
if($r) {
$r = q("SELECT `id` FROM `contact`
WHERE `uid` = '%s' AND `url` = '%s' AND `issued-id` = '%s' LIMIT 1",
WHERE `uid` = %d AND `url` = '%s' AND `issued-id` = '%s' LIMIT 1",
intval($uid),
$parms['url'],
$parms['issued-id']