Преглед изворни кода

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(