[geeklog-hg] geeklog: missing global declaration

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon May 21 06:46:31 EDT 2012


changeset 8706:591fe2c05985
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/591fe2c05985
user: Dirk Haun <dirk at haun-online.de>
date: Mon May 21 12:46:24 2012 +0200
description:
missing global declaration

diffstat:

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

diffs (20 lines):

diff -r 41b1da6c3bb4 -r 591fe2c05985 public_html/lib-common.php
--- a/public_html/lib-common.php	Mon May 21 14:44:04 2012 +0900
+++ b/public_html/lib-common.php	Mon May 21 12:46:24 2012 +0200
@@ -36,7 +36,6 @@
 // Prevent PHP from reporting uninitialized variables
 error_reporting(E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR | E_USER_ERROR);
 
-
 /**
 * This is the common library for Geeklog.  Through our code, you will see
 * functions with the COM_ prefix (e.g. COM_siteHeader()).  Any such functions
@@ -7142,6 +7141,8 @@
 */
 function COM_displayMessageAndAbort( $msg, $plugin = '', $http_status = 200, $http_text = 'OK')
 {
+    global $MESSAGE;
+
     $display = COM_showMessage( $msg, $plugin );
     $display = COM_createHTMLDocument($display, array('pagetitle' => $MESSAGE[30], 'rightblock' => true));
 



More information about the geeklog-cvs mailing list