mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-08 12:32:42 +00:00
Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts: cake/tests/cases/libs/controller_test_case.test.php lib/Cake/Controller/ComponentCollection.php lib/Cake/Model/ConnectionManager.php lib/Cake/TestSuite/Fixture/CakeTestFixture.php lib/Cake/View/pages/home.ctp
This commit is contained in:
commit
d9c99b5ef6
59 changed files with 849 additions and 192 deletions
|
@ -246,7 +246,7 @@ class Validation {
|
|||
}
|
||||
break;
|
||||
default:
|
||||
self::$errors[] = __('You must define the $operator parameter for Validation::comparison()', true);
|
||||
self::$errors[] = __('You must define the $operator parameter for Validation::comparison()');
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
|
@ -265,7 +265,7 @@ class Validation {
|
|||
extract(self::_defaults($check));
|
||||
}
|
||||
if ($regex === null) {
|
||||
self::$errors[] = __('You must define a regular expression for Validation::custom()', true);
|
||||
self::$errors[] = __('You must define a regular expression for Validation::custom()');
|
||||
return false;
|
||||
}
|
||||
return self::_check($check, $regex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue