joe 4 年 前
コミット
ba69f76fd8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/admin/controller/widget/Images.php

+ 1 - 1
app/admin/controller/widget/Images.php

@@ -31,7 +31,7 @@ class Images extends AuthController
         $productId = request()->param('productId');
         session('pid', $pid);
         $this->assign('pid', $pid);
-        
+        $this->assign('ppid', 0);
         if ($productId) {
             $res = SystemAttachmentModel::getPidByProductId($productId);
             $this->assign('pid', $res['pid']);