Twig render function fix #5

Closed
opened 2024-01-14 21:43:42 +07:00 by Arsen Mirzaev Tatyano-Muradovich · 2 comments

Change to look like:
изображение

return $this->twig->render('themes' . DIRECTORY_SEPARATOR . $this->twig->getGlobals()['theme'] . DIRECTORY_SEPARATOR . $file, $this->twig->mergeGlobals($variables))

Change to look like: ![изображение](/attachments/24261392-a2a0-4402-bfe6-c9ef247d4c04) `return $this->twig->render('themes' . DIRECTORY_SEPARATOR . $this->twig->getGlobals()['theme'] . DIRECTORY_SEPARATOR . $file, $this->twig->mergeGlobals($variables))`
Arsen Mirzaev Tatyano-Muradovich added the
Error
label 2024-01-14 21:43:42 +07:00

return $this->twig->render('themes' . DIRECTORY_SEPARATOR . $this->twig->getGlobals()['theme'] . DIRECTORY_SEPARATOR . $file, $this->twig->mergeGlobals($variables ?? []));

`return $this->twig->render('themes' . DIRECTORY_SEPARATOR . $this->twig->getGlobals()['theme'] . DIRECTORY_SEPARATOR . $file, $this->twig->mergeGlobals($variables ?? []));`

Resolved: 0843fd83a5

Resolved: https://git.mirzaev.sexy/mirzaev/pot/commit/0843fd83a54b222e86584990279ab6074478cf01
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mirzaev/pot#5
No description provided.