From 22f7ffc2d71576acf16b71c2018cf92a39a73e78 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 16 Nov 2010 15:38:56 -0800 Subject: [PATCH] enumerate required php modules --- INSTALL | 1 + mod/dfrn_confirm.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index 3661fff182..3362abd721 100644 --- a/INSTALL +++ b/INSTALL @@ -9,6 +9,7 @@ local .htaccess file encryption support - PHP *command line* access with register_argc_argv set to true in the php.ini file + - curl, gd, and openssl extensions - Mysql 5.x diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index fe9c04f854..aa751507ac 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -419,8 +419,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { } $r = q("SELECT * FROM `contact` WHERE `dfrn-id` = '%s' LIMIT 1", - dbesc($decrypted_dfrn_id), - intval($local_uid) + dbesc($decrypted_dfrn_id) ); if(count($r)) { $message = t('The ID provided by your system is a duplicate on our system. It should work if you try again.');