Skip to content

Commit

Permalink
Fixed issue #11591: Typing mistake in text string
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Aug 29, 2016
1 parent ce01648 commit 950d9af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/core/LSYii_CompareInsensitiveValidator.php
Expand Up @@ -64,11 +64,11 @@ protected function validateAttribute($object,$attribute)
case '=':
case '==':
if($value!=$compareValue)
$message=$this->message!==null? $this->message : sprintf(gT('%s must be insensitive equal to %s'),$attribute,$compareTo);
$message=$this->message!==null? $this->message : sprintf(gT('%s must be case-insensitive equal to %s'),$attribute,$compareTo);
break;
case '!=':
if($value==$compareValue)
$message=$this->message!==null? $this->message : sprintf(gT('%s must be not be insensitive equal to %s'),$attribute,$compareTo);
$message=$this->message!==null? $this->message : sprintf(gT('%s must not be case-insensitive equal to %s'),$attribute,$compareTo);
break;
default:
throw new CException(Yii::t('yii','Invalid operator "{operator}".',array('{operator}'=>$this->operator)));
Expand Down

1 comment on commit 950d9af

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

Please sign in to comment.