diff options
author | Andrey Andreev <narf@devilix.net> | 2017-01-03 11:40:32 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-01-03 11:40:32 +0100 |
commit | 593ce680b87fadb05af6ba13c857ef8b16303bcf (patch) | |
tree | baa5e364142e8d27e41a9ef400f913f1d4b52d06 /system/database/DB_forge.php | |
parent | 0642faa79669826603502239b8fc092d0f1a437a (diff) |
[ci skip] Fix 4953
Diffstat (limited to 'system/database/DB_forge.php')
-rw-r--r-- | system/database/DB_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index 2b2ff1c24..7289235c8 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php @@ -348,7 +348,7 @@ abstract class CI_DB_forge { if (($result = $this->db->query($sql)) !== FALSE) { - empty($this->db->data_cache['table_names']) OR $this->db->data_cache['table_names'][] = $table; + isset($this->db->data_cache['table_names']) && $this->db->data_cache['table_names'][] = $table; // Most databases don't support creating indexes from within the CREATE TABLE statement if ( ! empty($this->keys)) |