We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e646c commit 382ae06Copy full SHA for 382ae06
app/code/Meta/Conversion/Helper/MagentoDataHelper.php
@@ -236,12 +236,12 @@ public function getCartNumItems(CartInterface $quote): int
236
/**
237
* Get Hash value
238
*
239
- * @param string $string
+ * @param string|null $string
240
* @return string
241
*/
242
public function hashValue($string): string
243
{
244
- return hash('sha256', strtolower($string));
+ return hash('sha256', strtolower($string ?? ''));
245
}
246
247
// TODO Remaining user/custom data methods that can be obtained using Magento.
0 commit comments