diff options
author | Christian Schneider | 2018-05-07 17:03:23 +0200 |
---|---|---|
committer | Christian Schneider | 2018-05-07 17:03:23 +0200 |
commit | d1195a5f10cdc4e8cb8a3a5e1c58f46fba9e5f3d (patch) | |
tree | ac47ae584d7a6fb16ee4b1242c06c7a09d2c894b /it_html.class | |
parent | 7f41132b49ab09232a653cc6d2f3b2e14d0a139b (diff) | |
download | itools-d1195a5f10cdc4e8cb8a3a5e1c58f46fba9e5f3d.tar.gz itools-d1195a5f10cdc4e8cb8a3a5e1c58f46fba9e5f3d.tar.bz2 itools-d1195a5f10cdc4e8cb8a3a5e1c58f46fba9e5f3d.zip |
Hack: Manually copy for new instance without custom value to keep setting from global auto_prepend instancecs/xmlnamespace
Diffstat (limited to 'it_html.class')
-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; |