Răsfoiți Sursa

bugfix create customfields

andre 5 ani în urmă
părinte
comite
165404e21b
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      zimbraSingle.php

+ 3 - 0
zimbraSingle.php

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