5.3 array syntax
This commit is contained in:
parent
f51422ad8d
commit
b011e6f157
|
|
@ -552,7 +552,7 @@ class TemplateProcessor
|
|||
*/
|
||||
protected function indexClonedVariables($count, $xmlBlock)
|
||||
{
|
||||
$results = [];
|
||||
$results = array();
|
||||
for ($i = 1; $i <= $count; $i++) {
|
||||
$results[] = preg_replace('/\$\{(.*?)\}/', '\${\\1#' . $i . '}', $xmlBlock);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue