summaryrefslogtreecommitdiffstats
path: root/system/libraries/Profiler.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-07 03:17:25 +0200
committeradmin <devnull@localhost>2006-10-07 03:17:25 +0200
commit8f0a8f693307a6d04b8a50aa11f81041c961adf6 (patch)
tree698f2b4d004a5dd604ded5138fc6afdcb776ade0 /system/libraries/Profiler.php
parent61c5717b76bc39823215aaceacdba97264f668d4 (diff)
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r--system/libraries/Profiler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
index 9da73b03e..6142267bb 100644
--- a/system/libraries/Profiler.php
+++ b/system/libraries/Profiler.php
@@ -62,7 +62,7 @@ class CI_Profiler {
// up in the order that it was defined
if (preg_match("/(.+?)_end/i", $key, $match))
{
- if (isset($this->obj->benchmark->marker[$match[1].'_end']))
+ if (isset($this->obj->benchmark->marker[$match[1].'_end']) AND isset($this->obj->benchmark->marker[$match[1].'_start']))
{
$profile[$match[1]] = $this->obj->benchmark->elapsed_time($match[1].'_start', $key);
}