projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d9951d
)
Fixes query in homonyms cron.
author
Stéphane Jacob
<sj@m4x.org>
Wed, 4 Aug 2010 07:27:42 +0000
(09:27 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Wed, 4 Aug 2010 07:27:42 +0000
(09:27 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
bin/cron/homonyms.php
patch
|
blob
|
blame
|
history
diff --git
a/bin/cron/homonyms.php
b/bin/cron/homonyms.php
index
cda0f68
..
88a7ee4
100755
(executable)
--- a/
bin/cron/homonyms.php
+++ b/
bin/cron/homonyms.php
@@
-34,7
+34,7
@@
$resRobot = XDB::iterator("SELECT uid, alias, expire
while ($old = $resRobot->next()) {
$res = XDB::query('SELECT a.hruid
FROM homonyms AS h
- INNER JOIN accounts AS a (h.uid = a.uid)
+ INNER JOIN accounts AS a
ON
(h.uid = a.uid)
WHERE homonyme_id = {?}',
$old['id']);
$hruids = $res->fetchColumn();