mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
- bugfix {insert} not works when caching is enabled and included template is present
https://github.com/smarty-php/smarty/issues/496
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
===== 3.1.34-dev-2 =====
|
===== 3.1.34-dev-2 =====
|
||||||
|
11.10.2018
|
||||||
|
- bugfix {insert} not works when caching is enabled and included template is present
|
||||||
|
https://github.com/smarty-php/smarty/issues/496
|
||||||
|
|
||||||
09.10.2018
|
09.10.2018
|
||||||
- bugfix fix of 26.8.2017 https://github.com/smarty-php/smarty/issues/327
|
- bugfix fix of 26.8.2017 https://github.com/smarty-php/smarty/issues/327
|
||||||
modifier is applied to sum expression https://github.com/smarty-php/smarty/issues/491
|
modifier is applied to sum expression https://github.com/smarty-php/smarty/issues/491
|
||||||
|
@@ -112,7 +112,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
|||||||
/**
|
/**
|
||||||
* smarty version
|
* smarty version
|
||||||
*/
|
*/
|
||||||
const SMARTY_VERSION = '3.1.34-dev-2';
|
const SMARTY_VERSION = '3.1.34-dev-3';
|
||||||
/**
|
/**
|
||||||
* define variable scopes
|
* define variable scopes
|
||||||
*/
|
*/
|
||||||
|
@@ -151,6 +151,7 @@ class Smarty_Internal_Compile_Insert extends Smarty_Internal_CompileBase
|
|||||||
$_output .= "echo {$_function}({$_params},\$_smarty_tpl);?>";
|
$_output .= "echo {$_function}({$_params},\$_smarty_tpl);?>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$compiler->template->compiled->has_nocache_code = true;
|
||||||
return $_output;
|
return $_output;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user