Skip to content

Instantly share code, notes, and snippets.

@Schrank
Created February 28, 2018 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Schrank/a1bde64722df2a23602ee5c3d944970d to your computer and use it in GitHub Desktop.
Save Schrank/a1bde64722df2a23602ee5c3d944970d to your computer and use it in GitHub Desktop.
Webshopapps Productmatrix PHP 7.2 compatible
Index: www/vendor/webshopapps/productmatrix/app/code/community/Webshopapps/Productmatrix/Model/Mysql4/Carrier/Productmatrix.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- www/vendor/webshopapps/productmatrix/app/code/community/Webshopapps/Productmatrix/Model/Mysql4/Carrier/Productmatrix.php (date 1519796135000)
+++ www/vendor/webshopapps/productmatrix/app/code/community/Webshopapps/Productmatrix/Model/Mysql4/Carrier/Productmatrix.php (date 1519796135000)
@@ -1715,7 +1715,7 @@
$weight = 0;
$qty = 0;
$price = 0;
- $temp = '';
+ $temp = [];
$product = null;
if ($item->getProduct()->isVirtual()) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment