fixed bug in get_events_with_user call

This commit is contained in:
alejandro-campos 2020-05-18 12:40:43 +02:00
parent a4bd4a4c5d
commit ee55c1be85
1 changed files with 3 additions and 1 deletions

View File

@ -10712,7 +10712,7 @@ function get_events_with_user($trash1, $trash2, $other, $returnType, $user_in_db
$data['type'] = 'array';
$data['data'] = $result;
// returnData($returnType, $data, $separator);
returnData($returnType, $data, $separator);
if (empty($result)) {
return false;
}
@ -10752,6 +10752,8 @@ function api_get_events($trash1, $trash2, $other, $returnType, $user_in_db=null)
returnError('ERROR_API_PANDORAFMS', $returnType);
}
}
return;
}
if ($other['type'] == 'string') {