Explorar o código

#688 ... regression in the search forms when the autocomplete is active

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2648 a333f486-631f-4898-b8df-5754b55c2be0
romainq %!s(int64=12) %!d(string=hai) anos
pai
achega
7624b982f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/ui.extkeywidget.class.inc.php

+ 1 - 1
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 ''