Use old style array declaration

pull/2021/head
fabrixxm 2015-11-07 12:21:54 +01:00
rodzic bb5f7c4db7
commit 80b62071e1
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -62,10 +62,10 @@ class FriendicaSmartyEngine implements ITemplateEngine {
}
// "middleware": inject variables into templates
$arr = [
$arr = array(
"template"=> basename($s->filename),
"vars" => $r
];
);
call_hooks("template_vars", $arr);
$r = $arr['vars'];