Mercurial > defr > templates
changeset 7:61dee7e34a9d
Changer de nom de variable, c'est bien, mais faut l'faire partout.
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Sun, 21 Oct 2007 14:14:23 +0200 |
parents | f80e9010e64d |
children | 0b796d56c767 |
files | class.template.php |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/class.template.php Sun Oct 21 13:21:57 2007 +0200 +++ b/class.template.php Sun Oct 21 14:14:23 2007 +0200 @@ -42,7 +42,7 @@ $futureNode = $node->insertBefore($futureNode, $tmp->orig); foreach($array as $sel => $test) { $locSelector = $this->parseSelector($sel, $node); - if(isset($localSelector->attribute)) + if(isset($locSelector->attribute)) $futureNode->setAttribute($locSelector->attribute, $test); else { $content = $this->parseReplacement($test);