parent
ec89bd77fe
commit
0d9b4cce8e
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,8 @@ class EventController extends Controller
|
||||||
if (strlen($enddate) > 0) {
|
if (strlen($enddate) > 0) {
|
||||||
$enddate = new \DateTime($enddate);
|
$enddate = new \DateTime($enddate);
|
||||||
$entity->enddate = $enddate;
|
$entity->enddate = $enddate;
|
||||||
|
} else {
|
||||||
|
$entity->enddate = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$location = $request->get('location');
|
$location = $request->get('location');
|
||||||
|
|
Reference in a new issue