[geeklog-cvs] geeklog: E_ALL fix - initialize variable

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Dec 5 13:47:27 EST 2009


changeset 7511:5579e1ef3120
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/5579e1ef3120
user: Dirk Haun <dirk at haun-online.de>
date: Sat Dec 05 16:20:42 2009 +0100
description:
E_ALL fix - initialize variable

diffstat:

 system/lib-comment.php |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r fd75c85d005a -r 5579e1ef3120 system/lib-comment.php
--- a/system/lib-comment.php	Mon Nov 30 12:15:48 2009 +0100
+++ b/system/lib-comment.php	Sat Dec 05 16:20:42 2009 +0100
@@ -582,6 +582,8 @@
 {
     global $_CONF, $_TABLES, $_USER, $LANG01;
 
+    $retval = '';
+
     if( !empty( $_USER['uid'] ) ) {
         $result = DB_query( "SELECT commentorder,commentmode,commentlimit FROM {$_TABLES['usercomment']} WHERE uid = '{$_USER['uid']}'" );
         $U = DB_fetchArray( $result );



More information about the geeklog-cvs mailing list