Created
September 16, 2019 10:02
-
-
Save mmenozzi/ab229446be20ad0364329ae349f00427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: app/code/local/AW/Afptc/Model/Rule.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- app/code/local/AW/Afptc/Model/Rule.php (date 1568627129105) | |
+++ app/code/local/AW/Afptc/Model/Rule.php (date 1568627129105) | |
@@ -35,7 +35,7 @@ | |
$this->setBuyXProductIds(array()); | |
$allQuoteItems = $object->getQuote()->getAllItems(); | |
$itemsCount = count($allQuoteItems); | |
- if (!count($itemsCount)) { | |
+ if (!$itemsCount) { | |
return false; | |
} | |
$freeItemsCount = array(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment