From 426dff7f9c99c58658eb06669d5dcaf2e3b01886 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 27 Jun 2011 22:14:44 +0000 Subject: [PATCH] If value is something that evaluates to false, display nothing ('') --- etemplate/inc/class.select_widget.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/inc/class.select_widget.inc.php b/etemplate/inc/class.select_widget.inc.php index 82c3fd771a..d852cf05e7 100644 --- a/etemplate/inc/class.select_widget.inc.php +++ b/etemplate/inc/class.select_widget.inc.php @@ -194,6 +194,10 @@ class select_widget } } } + else + { + $value = ''; + } break; } if ((!$type3 || $type3 === $GLOBALS['egw']->categories->app_name) &&