mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
comparison swapped
This commit is contained in:
@@ -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'
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user