rabin 6 months ago
parent
commit
761431b38e
1 changed files with 1 additions and 1 deletions
  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'];