mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-23 22:05:41 +02:00
fixed error
This commit is contained in:
parent
c76238bdb0
commit
10b2fe25ba
@ -16181,7 +16181,7 @@ function api_set_event_in_progress($event_id, $trash2, $returnType)
|
||||
);
|
||||
|
||||
if ($event !== false) {
|
||||
returnData($returnType, ['type' => 'string', 'data' => $event]);
|
||||
returnData('string', ['data' => $event]);
|
||||
} else {
|
||||
returnError('id_not_found', 'string');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user