\r
if( ! PEAR::isError( $result ) )\r
{\r
- while( $job = $result->fetchRow( DB_FETCHMODE_ASSOC ) )
+ while( $job = $result->fetchRow() )
{
// Job level description
- $job['Level'] = $joblevel[ $job['Level'] ];
+ $job['joblevel'] = $joblevel[ $job['level'] ];
// Job execution execution time
- $job['elapsedtime'] = CTimeUtils::Get_Elapsed_Time( $job['StartTime'], $job['EndTime'] );
+ $job['elapsedtime'] = CTimeUtils::Get_Elapsed_Time( $job['starttime'], $job['endtime'] );
// odd and even row
if( count($jobs) % 2)
{foreach from=$jobs item=job}\r
<tr>\r
<td class="{$job.row_class}">{$job.jobid}</td>
- <td class="{$job.row_class}">{$job.level}</td>
+ <td class="{$job.row_class}">{$job.joblevel}</td>
<td class="{$job.row_class}">{$job.jobfiles}</td>
<td class="{$job.row_class}">{$job.jobbytes}</td>
<td class="{$job.row_class}">{$job.starttime}</td>