Browse Source

Use old style array declaration

pull/2021/head
fabrixxm 6 years ago
parent
commit
80b62071e1
  1. 4
      include/friendica_smarty.php

4
include/friendica_smarty.php

@ -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'];

Loading…
Cancel
Save