Commit 78e0522e by Seldaek

Fixes block plugins param handling (failed with arrays)

git-svn-id: svn://dwoo.org/dwoo/trunk@192 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent fc07f46e
......@@ -82,7 +82,7 @@ abstract class Dwoo_Block_Plugin extends Dwoo_Plugin
*/
public static function preProcessing(Dwoo_Compiler $compiler, array $params, $prepend, $append, $type)
{
return Dwoo_Compiler::PHP_OPEN.$prepend.'$this->addStack("'.$type.'", array('.implode(', ', $compiler->getCompiledParams($params)).'));'.$append.Dwoo_Compiler::PHP_CLOSE;
return Dwoo_Compiler::PHP_OPEN.$prepend.'$this->addStack("'.$type.'", array('.Dwoo_Compiler::implode_r($compiler->getCompiledParams($params)).'));'.$append.Dwoo_Compiler::PHP_CLOSE;
}
/**
......
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