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

Commit 3840e94

Browse files
Wayne Zhangfacebook-github-bot
authored andcommitted
Fix null value and add announcement to readme
Summary: Fix null value and add announcement to readme Reviewed By: zlik Differential Revision: D42453144 fbshipit-source-id: 2ee77de3734e5e752b0b8ddccdb576d06f24089d
1 parent 69e759f commit 3840e94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Helper/MagentoDataHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public function getUserDataFromSession()
478478
}
479479

480480
private function hashValue($string){
481-
return hash('sha256', strtolower($string));
481+
return hash('sha256', strtolower($string ?? ''));
482482
}
483483

484484
// TODO Remaining user/custom data methods that can be obtained using Magento.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
### NOTE: This version will be upgraded in early 2023; please stay tuned for updates.
22
# Facebook Business Extension For Magento2
33

44
## Facebook Connects Businesses with People

0 commit comments

Comments
 (0)