projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes query in homonyms cron.
[platal.git]
/
bin
/
cron
/
homonyms.php
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();