projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19fdac5
)
Fixes some errors in the profile_update reminder.
author
Stéphane Jacob
<sj@m4x.org>
Wed, 22 Jul 2009 21:33:34 +0000
(23:33 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Wed, 22 Jul 2009 21:33:34 +0000
(23:33 +0200)
include/reminder/profile_update.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/reminder/profile_update.inc.php
b/include/reminder/profile_update.inc.php
index
4609977
..
1e7535e
100644
(file)
--- 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);
}