From 0311e78690bae4fa96540416db5b3ad275541c88 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Thu, 16 Aug 2018 12:36:11 +0000 Subject: [PATCH] KPI : fix PHP notice var might be undefined SVN:trunk[6004] --- core/kpi.class.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/kpi.class.inc.php b/core/kpi.class.inc.php index 8849b5351..3dd6f018e 100644 --- a/core/kpi.class.inc.php +++ b/core/kpi.class.inc.php @@ -121,6 +121,9 @@ class ExecutionKPI $fDuration = $aOpStats['time_end'] - $aOpStats['time_begin']; $sDuration = round($fDuration, 3); + $sMemBegin = 'n/a'; + $sMemEnd = 'n/a'; + $sMemPeak = 'n/a'; if (isset($aOpStats['mem_begin'])) { $sMemBegin = self::MemStr($aOpStats['mem_begin']);