Browse Source

bugfix create customfields

andre 5 years ago
parent
commit
165404e21b
1 changed files with 3 additions and 0 deletions
  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(