rabin 6 mesi fa
parent
commit
761431b38e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/resource/goods/lib/Info.php

+ 1 - 1
src/resource/goods/lib/Info.php

@@ -22,7 +22,7 @@ class Info
         if (!$sku) {
             return false;
         }
-        if (!$sku['key']) {
+        if (empty($sku['key'])) {
             return false;
         }
         $info['price'] = $sku['price'];