Merge pull request #11970 from MrPetovan/bug/marcor-newapi
Fix parameter names before being passed to Model\Event::store
This commit is contained in:
commit
49c5d62530
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ class Create extends BaseApi
|
|||
$event['summary'] = $request['name'];
|
||||
$event['desc'] = $request['desc'];
|
||||
$event['location'] = $request['place'];
|
||||
$event['start_time'] = $start;
|
||||
$event['end_time'] = $finish;
|
||||
$event['start'] = $start;
|
||||
$event['finish'] = $finish;
|
||||
$event['nofinish'] = $nofinish;
|
||||
|
||||
$event['allow_cid'] = $request['allow_cid'];
|
||||
|
|
Loading…
Reference in a new issue