diff options
Diffstat (limited to 'it_xml.class')
-rw-r--r-- | it_xml.class | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/it_xml.class b/it_xml.class index d22dc23..7dd82c7 100644 --- a/it_xml.class +++ b/it_xml.class @@ -334,13 +334,11 @@ function error() function set($vals) { - $prefix = it::match(".*_", get_class($this)); - if (is_array($vals)) { foreach ($vals as $key => $val) { - $classname = $prefix . $this->_make_identifier($key); + $classname = $this->_p['prefix'] . $this->_make_identifier($key); if (!class_exists($classname)) eval("class $classname extends it_xml {}"); |