mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix tests for PHP 5.3
This commit is contained in:
parent
d5a9ea5740
commit
9c0cea5934
@ -575,12 +575,12 @@ class Compiler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$tpl->blocks[$scope["name"]] = [
|
$tpl->blocks[$scope["name"]] = array(
|
||||||
"from" => $tpl->getName(),
|
"from" => $tpl->getName(),
|
||||||
"import" => false,
|
"import" => false,
|
||||||
"use_parent" => $scope["use_parent"],
|
"use_parent" => $scope["use_parent"],
|
||||||
"block" => $scope->getContent()
|
"block" => $scope->getContent()
|
||||||
];
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user