Skip to content

Commit

Permalink
bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
smarteist committed Feb 11, 2021
1 parent e386e03 commit 99f09ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hexbit/sage-woocommerce",
"description": "Woocommerce support for sage 10",
"version": "1.0.3",
"version": "1.0.4",
"keywords": [
"hexbit",
"smarteist",
Expand Down
2 changes: 1 addition & 1 deletion src/WooCommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function templatePart(string $template)
// We have a template, create a loader file and return it's path.
return view(
$this->fileFinder->getPossibleViewNameFromPath($themeTemplate),
$this->app['sage.data']
$this->app['sage.data'] ?? []
)->makeLoader();
}

Expand Down

0 comments on commit 99f09ca

Please sign in to comment.