[geeklog-cvs] geeklog: Fixed syntax error

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Jan 7 03:53:26 EST 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/68a8051fe997
changeset: 6659:68a8051fe997
user:      Dirk Haun <dirk at haun-online.de>
date:      Tue Jan 06 13:10:56 2009 +0100
description:
Fixed syntax error

diffstat:

1 file changed, 2 insertions(+), 4 deletions(-)
system/lib-story.php |    6 ++----

diffs (30 lines):

diff -r 5011dba99c14 -r 68a8051fe997 system/lib-story.php
--- a/system/lib-story.php	Tue Jan 06 13:10:01 2009 +0100
+++ b/system/lib-story.php	Tue Jan 06 13:10:56 2009 +0100
@@ -8,7 +8,7 @@
 // |                                                                           |
 // | Story-related functions needed in more than one place.                    |
 // +---------------------------------------------------------------------------+
-// | Copyright (C) 2000-2008 by the following authors:                         |
+// | Copyright (C) 2000-2009 by the following authors:                         |
 // |                                                                           |
 // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
 // |          Mark Limburg      - mlimburg AT users DOT sourceforge DOT net    |
@@ -32,8 +32,6 @@
 // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
 // |                                                                           |
 // +---------------------------------------------------------------------------+
-//
-// $Id: lib-story.php,v 1.133 2008/09/21 08:37:12 dhaun Exp $
 
 if (strpos(strtolower($_SERVER['PHP_SELF']), 'lib-story.php') !== false) {
     die('This file can not be used on its own!');
@@ -727,7 +725,7 @@
     if (count ($fields) > 0) {
         $result = DB_query ("SELECT " . implode (',', $fields)
                     . " FROM {$_TABLES['stories']} WHERE sid = '$sid'"
-                    . ' AND (draft_flag = 0) AND (date <= NOW())';
+                    . ' AND (draft_flag = 0) AND (date <= NOW())'
                     . COM_getPermSql ('AND') . COM_getTopicSql ('AND'));
         $A = DB_fetchArray ($result);
     } else {



More information about the geeklog-cvs mailing list