mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 05:11:36 +01:00
- bugfix wrong parameter on compileAllTemplates() https://github.com/smarty-php/smarty/issues/231
This commit is contained in:
@@ -121,7 +121,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* smarty version
|
||||
*/
|
||||
const SMARTY_VERSION = '3.1.30-dev/78';
|
||||
const SMARTY_VERSION = '3.1.30-dev/79';
|
||||
|
||||
/**
|
||||
* define variable scopes
|
||||
|
||||
@@ -32,7 +32,7 @@ class Smarty_Internal_Method_CompileAllTemplates
|
||||
*
|
||||
* @return integer number of template files recompiled
|
||||
*/
|
||||
public function compileAllTemplates(Smarty $dummy, Smarty $smarty, $extension = '.tpl', $force_compile = false, $time_limit = 0,
|
||||
public function compileAllTemplates(Smarty $smarty, $extension = '.tpl', $force_compile = false, $time_limit = 0,
|
||||
$max_errors = null)
|
||||
{
|
||||
return $this->compileAll($smarty, $extension, $force_compile, $time_limit, $max_errors);
|
||||
|
||||
Reference in New Issue
Block a user