Skip to content

Commit

Permalink
Changing the non-i18n validation message for validCount()
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Apr 27, 2016
1 parent 74846ca commit 1d2312e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/RulesChecker.php
Expand Up @@ -106,7 +106,7 @@ public function validCount($field, $count = 0, $operator = '>', $message = null)
if ($this->_useI18n) {
$message = __d('cake', 'The count does not match {0}{1}', [$operator, $count]);
} else {
$message = 'This value does not exist';
$message = sprintf('The count does not match %s%d', $operator, $count);
}
}

Expand Down

0 comments on commit 1d2312e

Please sign in to comment.