diff options
-rw-r--r-- | it_html.class | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/it_html.class b/it_html.class index 7e24021..f433e14 100644 --- a/it_html.class +++ b/it_html.class @@ -101,6 +101,10 @@ function __construct($p = array()) 'xml' => '' ); + # @@@ Hack: Manually copy for new instance without custom value to keep setting from global auto_prepend instance + if (!isset($p['error_on_redefine']) && isset($GLOBALS[$this->p['name']])) + $this->p['error_on_redefine'] = $GLOBALS[$this->p['name']]->p['error_on_redefine']; + # Since name is given as param, it is our duty to store it, not our caller's. $GLOBALS[$this->p['name']] =& $this; |