mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix the generated code for calling a subtemplate must pass the template resource name in single quotes https://github.com/smarty-php/smarty/issues/299
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
===== 3.1.31-dev ===== (xx.xx.xx)
|
===== 3.1.31-dev ===== (xx.xx.xx)
|
||||||
|
28.09.2016
|
||||||
|
- bugfix the generated code for calling a subtemplate must pass the template resource name in single quotes https://github.com/smarty-php/smarty/issues/299
|
||||||
|
|
||||||
27.09.2016
|
27.09.2016
|
||||||
- bugfix when Smarty does use an internally cached template object on Smarty::fetch() calls
|
- bugfix when Smarty does use an internally cached template object on Smarty::fetch() calls
|
||||||
the template and config variables must be cleared https://github.com/smarty-php/smarty/issues/297
|
the template and config variables must be cleared https://github.com/smarty-php/smarty/issues/297
|
||||||
|
@@ -114,7 +114,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
|||||||
/**
|
/**
|
||||||
* smarty version
|
* smarty version
|
||||||
*/
|
*/
|
||||||
const SMARTY_VERSION = '3.1.31-dev/30';
|
const SMARTY_VERSION = '3.1.31-dev/31';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* define variable scopes
|
* define variable scopes
|
||||||
|
@@ -107,7 +107,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase
|
|||||||
$compiled->includes[ $fullResourceName ] = 1;
|
$compiled->includes[ $fullResourceName ] = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$fullResourceName = '"' . $fullResourceName . '"';
|
$fullResourceName = "'" . $fullResourceName . "'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (empty($match[ 5 ])) {
|
if (empty($match[ 5 ])) {
|
||||||
|
Reference in New Issue
Block a user