瀏覽代碼

bugfix create customfields

andre 5 年之前
父節點
當前提交
165404e21b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zimbraSingle.php

+ 3 - 0
zimbraSingle.php

@@ -108,6 +108,9 @@ function zimbraSingleCreateCustomFields($packageconfigoption)
             "Debug",
             $customFields
         );
+        Capsule::table('tblcustomfields')
+            ->where('relid', '=', $productID)
+            ->delete();
         Capsule::table('tblcustomfields')
         ->insert(
             array(