From 5596df50398c245781fd9196d782ef15a31e64bd Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 31 Jul 2017 10:00:57 +0200 Subject: [PATCH] DataController: '0' is a valid entry fixes #1045 --- application/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/DataController.php b/application/controllers/DataController.php index 03c01edf..e0d01365 100644 --- a/application/controllers/DataController.php +++ b/application/controllers/DataController.php @@ -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