KPI : fix PHP notice var might be undefined

SVN:trunk[6004]
This commit is contained in:
Pierre Goiffon
2018-08-16 12:36:11 +00:00
parent 9db47428db
commit 0311e78690

View File

@@ -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']);