mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 21:31:48 +01: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:
@@ -107,7 +107,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase
|
||||
$compiled->includes[ $fullResourceName ] = 1;
|
||||
}
|
||||
}
|
||||
$fullResourceName = '"' . $fullResourceName . '"';
|
||||
$fullResourceName = "'" . $fullResourceName . "'";
|
||||
}
|
||||
}
|
||||
if (empty($match[ 5 ])) {
|
||||
|
||||
Reference in New Issue
Block a user