summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-07-22 17:41:33 +0200
committerRobin Appelman <icewind@owncloud.com>2013-07-22 17:41:33 +0200
commit499a01f179d511135828c10edf64348547d31794 (patch)
tree3decf7c320452fc5d66ae5a78b6ff44d477f053d
parentb073a34e77d127488b414fedc5b24c31b11bc12e (diff)
downloadnextcloud-server-499a01f179d511135828c10edf64348547d31794.tar.gz
nextcloud-server-499a01f179d511135828c10edf64348547d31794.zip
use ===
-rw-r--r--lib/db/mdb2schemareader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db/mdb2schemareader.php b/lib/db/mdb2schemareader.php
index e9561a7ef1d..ad4b2fe0e03 100644
--- a/lib/db/mdb2schemareader.php
+++ b/lib/db/mdb2schemareader.php
@@ -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'])