kopia lustrzana https://github.com/friendica/friendica
Use old style array declaration
rodzic
bb5f7c4db7
commit
80b62071e1
|
@ -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'];
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue