Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv7787
Modified Files:
Request.php
Log Message:
Fix to avoid PHP Warning, "Notice[8]: Use of undefined constant DEBUG - assumed 'DEBUG'"
Index: Request.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Request.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -2 -b -p -d -r1.22 -r1.23
--- Request.php 18 Sep 2002 22:11:21 -0000 1.22
+++ Request.php 10 Oct 2002 00:18:01 -0000 1.23
@@ -84,5 +84,5 @@ class Request {
if ($args)
$get_args = array_merge($get_args, $args);
- if (DEBUG)
+ if (defined('DEBUG'))
$get_args = array_merge($get_args, $this->debugVars());
|