Commits

Christoffer Niska committed 60ab25f

fixed a minor bugin BootInput

Comments (0)

Files changed (1)

widgets/input/BootInput.php

 	 */
 	protected function getContainerCssClass()
 	{
-		if ($this->model->hasErrors(CHtml::resolveName($this->model, $this->attribute)))
+		if ($this->model->hasErrors($this->attribute))
 			return CHtml::$errorCss;
 		else
 			return '';