Skip to content

Commit

Permalink
fix: component lang as object (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin authored Nov 10, 2023
1 parent 11401b2 commit 7560c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Controller/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public function __construct()
'visit' => __('Visit', 'municipio'),
];

return array_merge((array) $obj, $lang);
return (object) array_merge((array) $obj, $lang);
}, 10, 1);


Expand Down

0 comments on commit 7560c3e

Please sign in to comment.