]> source.dussan.org Git - nextcloud-server.git/commitdiff
use ===
authorRobin Appelman <icewind@owncloud.com>
Mon, 22 Jul 2013 15:41:33 +0000 (17:41 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 22 Jul 2013 15:41:33 +0000 (17:41 +0200)
lib/db/mdb2schemareader.php

index e9561a7ef1de314f9a14636aa82ace15d3d253ad..ad4b2fe0e035b966894a02ef5f53e65f0782048d 100644 (file)
@@ -171,7 +171,7 @@ class OC_DB_MDB2SchemaReader {
                                        $type = 'bigint';
                                }
                        }
-                       if ($type == 'boolean' && isset($options['default'])){
+                       if ($type === 'boolean' && isset($options['default'])){
                                $options['default'] = self::asBool($options['default']);
                        }
                        if (!empty($options['autoincrement'])