diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-10-17 16:35:38 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-10-17 16:35:38 +0200 |
commit | 0fcb7e6070d2975955a8b14229abe36a5873a5ec (patch) | |
tree | 723c60ff837e0897260f58c05f14fb3063f832b1 /system | |
parent | ff5d13b710007d7a0648542070a4e10a3a8a284d (diff) |
set $dbs to an empty array before accessing
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Profiler.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index 669662e63..980cf09cc 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php @@ -102,6 +102,8 @@ class CI_Profiler { */
function _compile_queries()
{
+ $dbs = array();
+
// Let's determine which databases are currently connected to
foreach (get_object_vars($this->CI) as $CI_object)
{
|