rabin преди 4 дни
родител
ревизия
fbc3079b85
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/place/source/app/Lib/Price.php

+ 2 - 1
src/place/source/app/Lib/Price.php

@@ -98,7 +98,8 @@ class Price
     public function getHave($info)
     {
         $result['status'] = 1;
-        if ($info['have_vip']) {
+        if ($info['have_vip'] && $info['have_vip'] != '[]') {
+            $info['have_vip'] = str_replace('a', '', $info['have_vip']);
             $result['status'] = 2;
             $result['list'] = [];
             $where['id'] = ['in', $info['have_vip']];