From 0fcb7e6070d2975955a8b14229abe36a5873a5ec Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 17 Oct 2008 14:35:38 +0000 Subject: set $dbs to an empty array before accessing --- system/libraries/Profiler.php | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.3-24-g4f1b