Skip to content

Commit

Permalink
Code refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jul 2, 2024
1 parent 7c7e9b9 commit 105fa9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FormWidgets/TRLBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function renderFallbackField()
public function makeTRLPartial($partial, $params = [])
{
$oldViewPath = $this->viewPath;
$this->viewPath = strtolower(str_replace('\\', '/', __TRAIT__));
$this->viewPath[] = strtolower(str_replace('\\', '/', __TRAIT__));
$result = $this->makePartial($partial, $params);
$this->viewPath = $oldViewPath;

Expand Down

0 comments on commit 105fa9e

Please sign in to comment.