Commit fedf474e by Seldaek

* Fixed a weird reference bug with ZF and includes.. whatever but thanks to Denis Arh for the patch

git-svn-id: svn://dwoo.org/dwoo/trunk@218 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent 13f4eaae
......@@ -2,6 +2,8 @@
* Fixed a {foreach} bug with the implode argument
* Fixed modulo operator in if statements
* Fixed date_format handling of negative and small unix timestamps
* Fixed a weird reference bug with ZF and includes.. whatever but thanks
to Denis Arh for the patch
[2008-10-23] 1.0.0
! BC Break: Small one that probably won't affect anyone, but it makes the
......
......@@ -263,6 +263,7 @@ class Dwoo
public function __clone()
{
$this->template = null;
unset($this->data);
}
/**
......
......@@ -38,6 +38,10 @@ class Dwoo_Smarty__Adapter extends Dwoo
$this->scope = $v;
return;
}
if ($p==='data') {
$this->data = $v;
return;
}
if (array_key_exists($p, $this->compat['properties']) !== false) {
if ($this->show_compat_errors) {
$this->triggerError('Property '.$p.' is not available in the Dwoo_Smarty_Adapter, however it might be implemented in the future, check out http://wiki.dwoo.org/index.php/SmartySupport for more details.', E_USER_NOTICE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment