Merge branch 'ent-5832-10030-Faltan-campos-en-API-Events' into 'develop'

fixed bug in get_events_with_user call

See merge request artica/pandorafms!3213
This commit is contained in:
Daniel Rodriguez 2020-06-25 12:21:27 +02:00
commit ae0ac8dc8c
1 changed files with 3 additions and 1 deletions

View File

@ -10723,7 +10723,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;
}
@ -10840,6 +10840,8 @@ function api_get_events($trash1, $trash2, $other, $returnType, $user_in_db=null)
returnError('ERROR_API_PANDORAFMS', $returnType);
}
}
return;
}
if ($other['type'] == 'string') {