cvs: php4 /pear/HTML Processor.php
| From: | Stig Bakken | Date: | Sun, 08 Apr 2001 07:39:27 +0000 |
| Subject: | cvs: php4 /pear/HTML Processor.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5031@lists.php.net to get a copy of this message | ||
ssb Sun Apr 8 00:39:27 2001 EDT
Modified files:
/php4/pear/HTML Processor.php
Log:
* using GLOBALS to set global variable (in case the file is included
from within a function)
Index: php4/pear/HTML/Processor.php
diff -u php4/pear/HTML/Processor.php:1.1 php4/pear/HTML/Processor.php:1.2
--- php4/pear/HTML/Processor.php:1.1 Wed Jan 17 08:34:05 2001
+++ php4/pear/HTML/Processor.php Sun Apr 8 00:39:27 2001
@@ -16,7 +16,7 @@
// | Authors: Sterling Hughes <sterling@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Processor.php,v 1.1 2001/01/17 16:34:05 sterling Exp $
+// $Id: Processor.php,v 1.2 2001/04/08 07:39:27 ssb Exp $
//
// HTML processing utility functions.
//
@@ -30,7 +30,7 @@
// {{{ HTML_Processor
-$_HTML_Processor_translation_table = array();
+$GLOBALS['_HTML_Processor_translation_table'] = array();
/**
* The HTML_Processor class facilitates the parsing and processing of
@@ -99,4 +99,4 @@
}
// }}}
-?>
\ No newline at end of file
+?>