diff options
Diffstat (limited to 'lib/private/db/mdb2schemareader.php')
-rw-r--r-- | lib/private/db/mdb2schemareader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/db/mdb2schemareader.php b/lib/private/db/mdb2schemareader.php index 0b3fe1f0856..511bd1c90bd 100644 --- a/lib/private/db/mdb2schemareader.php +++ b/lib/private/db/mdb2schemareader.php @@ -189,7 +189,7 @@ class MDB2SchemaReader { } } if (isset($name) && isset($type)) { - if (empty($options['default'])) { + if (isset($options['default']) && empty($options['default'])) { if (empty($options['notnull']) || !$options['notnull']) { unset($options['default']); $options['notnull'] = false; |