Job details page now shows the id number for the current job, reading it from the URL using the RequestParser Fixed a bug where if no query string was provided (index.php was accessed directly) then a blank pagename was used (instead of 'home') and an exception was thrown.
9 lines
127 B
PHP
9 lines
127 B
PHP
<?php
|
|
|
|
$job_id = $this->request->get('id');
|
|
$job = new HandBrakeCluster_Job($job_id);
|
|
|
|
$this->smarty->assign('job', $job);
|
|
|
|
?>
|