Browse Source

Merge pull request #2021 from fabrixxm/php_arrays

Use old style array declaration
pull/2024/head
Silke Meyer 6 years ago
parent
commit
0d6ec70a68
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/friendica_smarty.php

+ 2
- 2
include/friendica_smarty.php View File

@ -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