Job details page shows the job id, fixed bug

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.
This commit is contained in:
2010-03-17 02:49:57 +00:00
parent 8db695166e
commit 23a5590131
6 changed files with 19 additions and 8 deletions

View File

@@ -4,8 +4,8 @@ class HandBrakeCluster_Job {
private $id;
public function __construct() {
$this->id = 42;
public function __construct($id) {
$this->id = $id;
}
public function id() {