Commit f0f19e33 by Antonio Ramirez

comparison swapped

parent 6c25c8fc
...@@ -105,7 +105,7 @@ class TypeAhead extends Widget ...@@ -105,7 +105,7 @@ class TypeAhead extends Widget
)->textInput(); )->textInput();
} }
if (null === $this->name) if ($this->name === null)
throw new InvalidParamException( throw new InvalidParamException(
get_class($this) . ' must specify "form", "model" and "attribute" or "name" property values' get_class($this) . ' must specify "form", "model" and "attribute" or "name" property values'
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment