Browse Source

bugfix create customfields

andre 5 years ago
parent
commit
9d88673fb9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      zimbraSingle.php

+ 2 - 1
zimbraSingle.php

@@ -100,7 +100,8 @@ function zimbraSingleCreateCustomFields($packageconfigoption)
     try {
         $customFieldIDs = Capsule::table('tblcustomfields')
             ->where('relid', '=', $productID)
-            ->select('id');
+            ->select('id')
+            ->get();
         logModuleCall(
             'zimbrasingle',
             __FUNCTION__,