Skip to content
Permalink
Browse files

better with strict comparison

  • Loading branch information...
remidewitte committed Mar 1, 2013
1 parent e2e5dfb commit 9ecbdf4971fea69c525c7e2df70135abc7ccf973
Showing with 1 addition and 1 deletion.
  1. +1 −1 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'])) {

0 comments on commit 9ecbdf4

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