summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite3/sqlite3_forge.php
diff options
context:
space:
mode:
authorAlex Bilbie <alex@alexbilbie.com>2012-06-02 12:09:54 +0200
committerAlex Bilbie <alex@alexbilbie.com>2012-06-02 12:09:54 +0200
commit48a2baf0e288accd206f5da5031d29076e130792 (patch)
tree9f2f0130ae05cfbe8301ab29cbbb2d389cc7c65f /system/database/drivers/sqlite3/sqlite3_forge.php
parented944a3c70a0bad158cd5a6ca5ce1f2e717aff5d (diff)
Replaced `==` with `===` and `!=` with `!==` in /system/database
Diffstat (limited to 'system/database/drivers/sqlite3/sqlite3_forge.php')
-rw-r--r--system/database/drivers/sqlite3/sqlite3_forge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_forge.php b/system/database/drivers/sqlite3/sqlite3_forge.php
index 20f1e6f63..0a5dc9211 100644
--- a/system/database/drivers/sqlite3/sqlite3_forge.php
+++ b/system/database/drivers/sqlite3/sqlite3_forge.php
@@ -184,7 +184,7 @@ class CI_DB_sqlite3_forge extends CI_DB_forge {
return 'ALTER TABLE '.$this->db->protect_identifiers($table).' '.$alter_type.' '.$this->db->protect_identifiers($column_name)
.' '.$column_definition
- .($default_value != '' ? ' DEFAULT '.$default_value : '')
+ .($default_value !== '' ? ' DEFAULT '.$default_value : '')
// If NOT NULL is specified, the field must have a DEFAULT value other than NULL
.(($null !== NULL && $default_value !== 'NULL') ? ' NOT NULL' : ' NULL');
}