[geeklog-cvs] geeklog: Missing global $_USER declaration

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Apr 7 04:07:47 EDT 2010


changeset 7879:4fc9b0c1b194
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/4fc9b0c1b194
user: Dirk Haun <dirk at haun-online.de>
date: Wed Apr 07 10:01:37 2010 +0200
description:
Missing global $_USER declaration

diffstat:

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

diffs (12 lines):

diff -r 6caf94cd91ee -r 4fc9b0c1b194 public_html/lib-common.php
--- a/public_html/lib-common.php	Tue Apr 06 22:46:13 2010 +0300
+++ b/public_html/lib-common.php	Wed Apr 07 10:01:37 2010 +0200
@@ -2958,7 +2958,7 @@
 */
 function COM_checkHTML( $str, $permissions = 'story.edit' )
 {
-    global $_CONF;
+    global $_CONF, $_USER;
 
     // replace any \ with \ (HTML equiv)
     $str = str_replace('\\', '\', COM_stripslashes($str) );



More information about the geeklog-cvs mailing list