Browse Source

bugfix create customfields

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

+ 1 - 1
zimbraSingle.php

@@ -102,7 +102,7 @@ function zimbraSingleCreateCustomFields($packageconfigoption)
             ->where('relid', '=', $productID)
             ->where('relid', '=', $productID)
             ->select('id')
             ->select('id')
             ->get();
             ->get();
-        $customFieldIDs = recursiveFindAll($customFieldIDsObj, 'id');
+        $customFieldIDs = recursiveFindAll((array)$customFieldIDsObj, 'id');
         logModuleCall(
         logModuleCall(
             'zimbrasingle',
             'zimbrasingle',
             __FUNCTION__,
             __FUNCTION__,