summaryrefslogtreecommitdiffstats
path: root/app/class/form.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/form.class.php')
-rw-r--r--app/class/form.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/form.class.php b/app/class/form.class.php
index 8f9d936..10a68c3 100644
--- a/app/class/form.class.php
+++ b/app/class/form.class.php
@@ -154,7 +154,7 @@ class form
/* init enum fields */
foreach ($this->enumFields as $field)
{
- if (isset($input[$field['name']]) && $input[$field['name']] != "")
+ if (isset($input[$field['name']]))
{
if (array_search($input[$field['name']], $field['values']) === false)
{