[geeklog-cvs] geeklog: Declare variable

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu Mar 25 14:16:59 EDT 2010


changeset 7830:dfa299c32945
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/dfa299c32945
user: Tom <websitemaster at cogeco.net>
date: Thu Mar 25 13:42:00 2010 -0400
description:
Declare variable

diffstat:

 plugins/staticpages/functions.inc |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r bc496accc8d4 -r dfa299c32945 plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc	Thu Mar 25 13:41:25 2010 -0400
+++ b/plugins/staticpages/functions.inc	Thu Mar 25 13:42:00 2010 -0400
@@ -1570,6 +1570,8 @@
 {
     global $_CONF, $_TABLES;
 
+    $stwhere = '';
+    
     if ($uid > 0) {
         $stwhere = " AND ({$_TABLES['comments']}.uid = $uid)";
     }    



More information about the geeklog-cvs mailing list