[geeklog-cvs] geeklog: Fixed SQL syntax error

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Tue Jan 26 15:54:22 EST 2010


changeset 7662:16065d03c804
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/16065d03c804
user: Dirk Haun <dirk at haun-online.de>
date: Sat Jan 16 15:52:37 2010 +0100
description:
Fixed SQL syntax error

diffstat:

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

diffs (12 lines):

diff -r 79f3c3414ea7 -r 16065d03c804 public_html/index.php
--- a/public_html/index.php	Sat Jan 16 15:52:05 2010 +0100
+++ b/public_html/index.php	Sat Jan 16 15:52:37 2010 +0100
@@ -336,7 +336,7 @@
          . $sql . "ORDER BY featured DESC, date DESC LIMIT $offset, $limit";
 $msql['pgsql']="SELECT s.*, UNIX_TIMESTAMP(s.date) AS unixdate,
             UNIX_TIMESTAMP(s.expire) as expireunix,
-            {$userfields} . , t.topic, t.imageurl
+            {$userfields}, t.topic, t.imageurl
             FROM {$_TABLES['stories']} AS s, {$_TABLES['users']} AS u,
             {$_TABLES['topics']} AS t WHERE (s.uid = u.uid) AND (s.tid = t.tid) AND
             {$sql} ORDER BY featured DESC, date DESC LIMIT {$limit} OFFSET {$offset}";



More information about the geeklog-cvs mailing list