mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
e9c15fe33e
commit
18dc1fd456
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue