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 <[EMAIL PROTECTED]> |
// +----------------------------------------------------------------------+
//
-// $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
+?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]