Skip to content

Commit

Permalink
Fixed bug with saving translation statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed May 20, 2021
1 parent c4c2170 commit 25decb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/Concerns/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ protected function template(string $filename, array $values = [], bool $trim = f
{
$template = $this->getTemplate($filename, $trim);

$values = array_merge($this->extend, $values);
$values = array_merge($this->extend ?? [], $values);

return $this->replace($template, $values, $return_empty);
}
Expand Down

0 comments on commit 25decb0

Please sign in to comment.