comparison swapped

This commit is contained in:
Antonio Ramirez
2013-05-21 13:28:08 +02:00
parent 6c25c8fca9
commit f0f19e338a

View File

@@ -105,7 +105,7 @@ class TypeAhead extends Widget
)->textInput();
}
if (null === $this->name)
if ($this->name === null)
throw new InvalidParamException(
get_class($this) . ' must specify "form", "model" and "attribute" or "name" property values'
);