mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
KPI : fix PHP notice var might be undefined
SVN:trunk[6004]
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user