Explorar o código

bugfix create customfields

andre %!s(int64=5) %!d(string=hai) anos
pai
achega
165404e21b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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(