DataController: '0' is a valid entry

fixes #1045
This commit is contained in:
Thomas Gelf 2017-07-31 10:00:57 +02:00
parent 010dbbd87d
commit 5596df5039
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class DataController extends ActionController
->setDb($this->db())
->setList($list);
if ($entryName) {
if (null !== $entryName) {
$form->loadObject([
'list_id' => $listId,
'entry_name' => $entryName