joe hace 4 años
padre
commit
ba69f76fd8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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']);