Explorar o código

Fix #426 - Problem with boolean fields in list view

Thomas Rabaix %!s(int64=13) %!d(string=hai) anos
pai
achega
04b0bc5d2d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Guesser/TypeGuesser.php

+ 1 - 1
Guesser/TypeGuesser.php

@@ -67,7 +67,7 @@ class TypeGuesser implements TypeGuesserInterface
             //case 'array':
             //case 'array':
             //  return new TypeGuess('Collection', array(), Guess::HIGH_CONFIDENCE);
             //  return new TypeGuess('Collection', array(), Guess::HIGH_CONFIDENCE);
             case 'boolean':
             case 'boolean':
-                return new TypeGuess('checkbox', array(), Guess::HIGH_CONFIDENCE);
+                return new TypeGuess('boolean', array(), Guess::HIGH_CONFIDENCE);
             case 'datetime':
             case 'datetime':
             case 'vardatetime':
             case 'vardatetime':
             case 'datetimetz':
             case 'datetimetz':