From d44f457d2d08ed72354a39e0cb8c34c829e83ecb Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sun, 17 Mar 2013 17:34:35 +0100 Subject: [PATCH] integer length 1 is not only used for boolean values --- lib/db/mdb2schemareader.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/db/mdb2schemareader.php b/lib/db/mdb2schemareader.php index 827323a551..53eb849d86 100644 --- a/lib/db/mdb2schemareader.php +++ b/lib/db/mdb2schemareader.php @@ -138,10 +138,7 @@ class OC_DB_MDB2SchemaReader { } if ($type == 'integer') { $length = $options['length']; - if ($length == 1) { - $type = 'boolean'; - } - else if ($length < 4) { + if ($length < 4) { $type = 'smallint'; } else if ($length > 4) {