Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Commit

Permalink
Fix null value and add announcement to readme
Browse files Browse the repository at this point in the history
Summary: Fix null value and add announcement to readme

Reviewed By: zlik

Differential Revision: D42453144

fbshipit-source-id: 2ee77de3734e5e752b0b8ddccdb576d06f24089d
  • Loading branch information
Wayne Zhang authored and facebook-github-bot committed Jan 11, 2023
1 parent 69e759f commit 3840e94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Helper/MagentoDataHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ public function getUserDataFromSession()
}

private function hashValue($string){
return hash('sha256', strtolower($string));
return hash('sha256', strtolower($string ?? ''));
}

// TODO Remaining user/custom data methods that can be obtained using Magento.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

### NOTE: This version will be upgraded in early 2023; please stay tuned for updates.
# Facebook Business Extension For Magento2

## Facebook Connects Businesses with People
Expand Down

0 comments on commit 3840e94

Please sign in to comment.