mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
fixed initialisation of $this->_plugins in compile_block_tag()
This commit is contained in:
@@ -635,7 +635,7 @@ class Smarty_Compiler extends Smarty {
|
|||||||
$message = "plugin function $plugin_func() not found in $plugin_file\n";
|
$message = "plugin function $plugin_func() not found in $plugin_file\n";
|
||||||
$have_function = false;
|
$have_function = false;
|
||||||
} else {
|
} else {
|
||||||
$this->_plugins['block'][$tag_command] = array($plugin_func, null, null);
|
$this->_plugins['block'][$tag_command] = array($plugin_func, null, null, null, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user