Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed May 25, 2018
1 parent 494b597 commit d01809f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/traits/THasUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public function getUrl()
*/
public function setUrl($url)
{
if (!is_array($url)) {
\Yii::warning('bad url ' . $url, 'adminUrl');
}
$this->_url = $url;
return $this;
}
Expand Down

0 comments on commit d01809f

Please sign in to comment.