Archived
1
0
Fork 0

app/controllers/CallbackController.php: in newAction() make sure name is set correctly.

Fixes #18
This commit is contained in:
Henrik Hautakoski 2018-07-24 11:58:59 +02:00
parent bbbe2fac94
commit 6c6bc209e4
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA

View file

@ -49,7 +49,7 @@ class CallbackController extends ControllerBase
$callback = new CallbackModel();
$callback->User = $this->_user;
$callback->setName($this->request->getPost());
$callback->setName($form->getValue('Name'));
$result = $callback->save();
if ($result) {