|
|
@@ -54,12 +54,12 @@ function zimbraSingle_ChangePassword($params)
|
|
|
if (defined('CLIENTAREA')) {
|
|
|
$params['customfields']['password'] = $params['password'];
|
|
|
$params['customfields']['pwrepeat'] = $params['password'];
|
|
|
- $customFieldIDs = Capsule::table('tblcustomfields')
|
|
|
+ $customFieldIDsObj = Capsule::table('tblcustomfields')
|
|
|
->select('id')
|
|
|
->where('relid', '=', $params['pid'])
|
|
|
->where('fieldtype', '=', 'password')
|
|
|
- ->get()
|
|
|
- ->toArray();
|
|
|
+ ->get();
|
|
|
+ $customFieldIDs = $customFieldIDsObj->toArray();
|
|
|
logModuleCall(
|
|
|
'zimbrasingle',
|
|
|
__FUNCTION__,
|