Skip to content

Commit

Permalink
Assign variables fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Sep 19, 2023
1 parent 5b9dc77 commit 41e05a2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Hook/WidgetCapability.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ public function getWidgetVariables($params): array
];
}

public function renderWidget($params)
protected function assignTemplateVariables(array $params)
{
$this->context->smarty->assign($this->getWidgetVariables($params));
}

public function renderWidget($params): string
{
return $this->execute($params);
}
Expand Down

0 comments on commit 41e05a2

Please sign in to comment.