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:
@@ -13,8 +13,11 @@ class HandBrakeCluster_RequestParser {
|
||||
}
|
||||
|
||||
public function parse() {
|
||||
$components = explode('/', $this->request_string);
|
||||
if (!$this->request_string) {
|
||||
return;
|
||||
}
|
||||
|
||||
$components = explode('/', $this->request_string);
|
||||
if (!$components) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user