shish 2 rokov pred
rodič
commit
ac4a8a449e
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      biz/cp/classes/PtCpClass.php

+ 1 - 0
biz/cp/classes/PtCpClass.php

@@ -28,6 +28,7 @@ class PtCpClass extends BaseClass
             util::fail('花材已经删除');
             util::fail('花材已经删除');
         }
         }
         $info->auth = 1;
         $info->auth = 1;
+        $info->hasCpId = 1;
         $info->save();
         $info->save();
         $itemAuth = 1;
         $itemAuth = 1;
         $newItem = $info->attributes;
         $newItem = $info->attributes;