From 253254990e1b9c96bf1d06d8bfa9f0e279402381 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Wed, 22 Jul 2009 23:33:34 +0200 Subject: [PATCH 1/1] Fixes some errors in the profile_update reminder. --- include/reminder/profile_update.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/reminder/profile_update.inc.php b/include/reminder/profile_update.inc.php index 4609977..1e7535e 100644 --- a/include/reminder/profile_update.inc.php +++ b/include/reminder/profile_update.inc.php @@ -63,7 +63,7 @@ class ReminderProfileUpdate extends Reminder $res = XDB::query('SELECT COUNT(*) FROM profile_addresses - WHERE pid = {?} AND accuracy = 0' + WHERE pid = {?} AND accuracy = 0', $this->user->id()); $page->assign('geocoding_incitation', $res->fetchOneCell()); } @@ -93,8 +93,8 @@ class ReminderProfileUpdate extends Reminder $res = XDB::query('SELECT COUNT(*) FROM profile_addresses - WHERE pid = {?} AND accuracy = 0' - $this->user->id()); + WHERE pid = {?} AND accuracy = 0', + $user->id()); return ($res->fetchOneCell() || !$has_photo || $is_profile_old); } -- 2.1.4