commit | 5a14ea1599841bdaac15b45e3efd4cba01601f49 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Thu Oct 12 20:42:55 2006 +0000 |
committer | admin <devnull@localhost> | Thu Oct 12 20:42:55 2006 +0000 |
tree | 38a96160bcc9655c6f2b7c9f27c8943554abf12d | |
parent | f6615e650f7f871fbb4a2e0e1a75fd9afa2e3647 [diff] [blame] |
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 4934771..93c1dba 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php
@@ -244,7 +244,7 @@ * Close the DB connection if one exists * ------------------------------------------------------ */ -if (class_exists('CI_DB')) +if (class_exists('CI_DB') AND isset($CI->db)) { $CI->db->close(); }