Ver código fonte

bugfix create customfields

andre 5 anos atrás
pai
commit
165404e21b
1 arquivos alterados com 3 adições e 0 exclusões
  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(