|
|
@@ -59,15 +59,13 @@ function zimbraSingle_ChangePassword($params)
|
|
|
->where('relid', '=', $params['pid'])
|
|
|
->where('fieldtype', '=', 'password')
|
|
|
->get();
|
|
|
- $customFieldIDs = $customFieldIDsObj->toArray();
|
|
|
- $customFieldID0 = $customFieldIDs[0]->toArray();
|
|
|
- $customFieldID1 = $customFieldIDs[1]->toArray();
|
|
|
+ $customFieldIDs = recursiveFindAll( $customFieldIDsObj, 'id');
|
|
|
logModuleCall(
|
|
|
'zimbrasingle',
|
|
|
__FUNCTION__,
|
|
|
- $customFieldID0['id'],
|
|
|
+ $customFieldIDs,
|
|
|
"Debug",
|
|
|
- $customFieldID1['id']
|
|
|
+ ""
|
|
|
);
|
|
|
$customfields = array(
|
|
|
'399' => $params['password'],
|