From 5d3e287fa8cb4ab663e70818184327c3bae8bb1c Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Wed, 4 Aug 2010 09:27:42 +0200 Subject: [PATCH] Fixes query in homonyms cron. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- bin/cron/homonyms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.1.4