fixed bug in get_events_with_user call
This commit is contained in:
parent
a4bd4a4c5d
commit
ee55c1be85
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue