mirror of
https://github.com/friendica/friendica
synced 2024-11-13 01:02:53 +00:00
Use old style array declaration
This commit is contained in:
parent
bb5f7c4db7
commit
80b62071e1
1 changed files with 2 additions and 2 deletions
|
@ -62,10 +62,10 @@ class FriendicaSmartyEngine implements ITemplateEngine {
|
||||||
}
|
}
|
||||||
|
|
||||||
// "middleware": inject variables into templates
|
// "middleware": inject variables into templates
|
||||||
$arr = [
|
$arr = array(
|
||||||
"template"=> basename($s->filename),
|
"template"=> basename($s->filename),
|
||||||
"vars" => $r
|
"vars" => $r
|
||||||
];
|
);
|
||||||
call_hooks("template_vars", $arr);
|
call_hooks("template_vars", $arr);
|
||||||
$r = $arr['vars'];
|
$r = $arr['vars'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue