From: Stéphane Jacob Date: Wed, 4 Aug 2010 07:27:42 +0000 (+0200) Subject: Fixes query in homonyms cron. X-Git-Tag: xorg/1.0.1~15^2~27 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=5d3e287fa8cb4ab663e70818184327c3bae8bb1c;p=platal.git Fixes query in homonyms cron. Signed-off-by: Stéphane Jacob --- diff --git a/bin/cron/homonyms.php b/bin/cron/homonyms.php index cda0f68..88a7ee4 100755 --- 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();