- Global variables were merged by error with the block's arguments
This commit is contained in:
parent
f143b082ae
commit
7588748ebd
|
@ -134,7 +134,7 @@ class Picea implements LanguageRegistration
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inlineBlock(? object $proxy, string $viewPath, ... $variables) {
|
public function inlineBlock(? object $proxy, string $viewPath, ... $variables) {
|
||||||
return $this->renderHtml($viewPath, [ 'inlineVariables' => $this->globalVariables + $variables ], $proxy);
|
return $this->renderHtml($viewPath, [ 'inlineVariables' => $variables, 'globalVariables' => $this->globalVariables ], $proxy);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inlineContent(string $viewPath) {
|
public function inlineContent(string $viewPath) {
|
||||||
|
|
Loading…
Reference in New Issue