commit | 0fcb7e6070d2975955a8b14229abe36a5873a5ec | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Fri Oct 17 14:35:38 2008 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Fri Oct 17 14:35:38 2008 +0000 |
tree | 723c60ff837e0897260f58c05f14fb3063f832b1 | |
parent | ff5d13b710007d7a0648542070a4e10a3a8a284d [diff] |
set $dbs to an empty array before accessing
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index 669662e..980cf09 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php
@@ -102,6 +102,8 @@ */ function _compile_queries() { + $dbs = array(); + // Let's determine which databases are currently connected to foreach (get_object_vars($this->CI) as $CI_object) {