diff options
author | Urban Müller | 2010-03-05 13:25:03 +0000 |
---|---|---|
committer | Urban Müller | 2010-03-05 13:25:03 +0000 |
commit | 7773df0accb4115fab52a62bfd44a0a169dd76cf (patch) | |
tree | 894092986ddf588bb043da3be6ceec98a5285bc6 | |
parent | 226098dbf14fc5921d26767721fdde5aecbecf45 (diff) | |
download | itools-7773df0accb4115fab52a62bfd44a0a169dd76cf.tar.gz itools-7773df0accb4115fab52a62bfd44a0a169dd76cf.tar.bz2 itools-7773df0accb4115fab52a62bfd44a0a169dd76cf.zip |
too kludgy for now
-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 {}"); |