diff --git a/application/ui.extkeywidget.class.inc.php b/application/ui.extkeywidget.class.inc.php index 1d2659e40..d975dedc7 100644 --- a/application/ui.extkeywidget.class.inc.php +++ b/application/ui.extkeywidget.class.inc.php @@ -231,7 +231,7 @@ EOF $oSet = new DBObjectSet($oSearch); if ($oSet->Count() == 0) { - $value = 0; + $value = null; } if (is_null($value) || ($value == 0)) // Null values are displayed as ''