Skip to content
Permalink
Browse files

Use strict check

  • Loading branch information...
dereuromark committed Jun 17, 2015
1 parent 32fe098 commit 1b813234623f1d597d1d76e847453abadf15f25e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/Validation.php
@@ -77,7 +77,7 @@ public static function notBlank($check) {
extract(self::_defaults($check));
}
if (empty($check) && $check != '0') {
if (empty($check) && $check !== '0') {
return false;
}
return self::_check($check, '/[^\s]+/m');

0 comments on commit 1b81323

Please sign in to comment.
You can’t perform that action at this time.