commit | 22ce276f4f696d69c11ee1d7c8b8acee67a97b09 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Fri Aug 15 11:59:16 2014 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Fri Aug 15 11:59:16 2014 +0300 |
tree | 7ab4e2a058504689c42a05972712698e9d74a0ce | |
parent | 43090cc12659eb523b53cb773b7f0d77d95dc7f4 [diff] [blame] |
Fix #3187
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index 111546e..2dd243c 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php
@@ -929,7 +929,7 @@ $field['default'] = empty($this->_null) ? '' : $this->_default.$this->_null; // Override the NULL attribute if that's our default - $attributes['NULL'] = NULL; + $attributes['NULL'] = TRUE; $field['null'] = empty($this->_null) ? '' : ' '.$this->_null; } else