[geeklog-hg] geeklog: fixed SQL error when multi-language support was enabled...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu Jun 7 11:11:31 EDT 2012


changeset 8715:839e575d6b82
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/839e575d6b82
user: Dirk Haun <dirk at haun-online.de>
date: Thu Jun 07 17:11:20 2012 +0200
description:
fixed SQL error when multi-language support was enabled (bug #0001450, patch provided by hiroron)

diffstat:

 public_html/index.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 12fde2a5b292 -r 839e575d6b82 public_html/index.php
--- a/public_html/index.php	Mon Jun 04 15:48:21 2012 -0400
+++ b/public_html/index.php	Thu Jun 07 17:11:20 2012 +0200
@@ -249,7 +249,7 @@
 $sql = " (date <= NOW()) AND (draft_flag = 0)";
 
 if (empty ($topic)) {
-    $sql .= COM_getLangSQL ('ta.tid', 'AND', 'ta');
+    $sql .= COM_getLangSQL ('tid', 'AND', 'ta');
 }
 
 // if a topic was provided only select those stories.



More information about the geeklog-cvs mailing list