Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

better with strict comparison

  • Loading branch information...
commit 9ecbdf4971fea69c525c7e2df70135abc7ccf973 1 parent e2e5dfb
@remidewitte remidewitte authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Model/CakeSchema.php
View
2  lib/Cake/Model/CakeSchema.php
@@ -626,7 +626,7 @@ protected function _columns(&$Obj) {
unset($value['limit']);
}
- if (isset($value['default']) && ($value['default'] === '' || ($value['default'] === false && $value['type'] != 'boolean'))) {
+ if (isset($value['default']) && ($value['default'] === '' || ($value['default'] === false && $value['type'] !== 'boolean'))) {
unset($value['default']);
}
if (empty($value['length'])) {
Please sign in to comment.
Something went wrong with that request. Please try again.