Undefined var in parse() method causing problems. Original author most likely meant $attr.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6463 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
john 2008-02-15 20:47:44 +00:00
parent e9c15fe33e
commit 18dc1fd456

View file

@ -776,7 +776,7 @@ class Xml extends XmlNode {
if ($attr == 'xmlns') {
$namespace = $val;
} else {
list($pre, $prefix) = explode(':', $name);
list($pre, $prefix) = explode(':', $attr);
$this->addNamespace($prefix, $val);
}
}
@ -1207,4 +1207,4 @@ class XmlManager {
}
}
?>
?>