diff --git a/module/bug/zen.php b/module/bug/zen.php index cce9c58686..4d5ff61209 100644 --- a/module/bug/zen.php +++ b/module/bug/zen.php @@ -1572,7 +1572,7 @@ class bugZen extends bug /* Get custom Fields. */ foreach(explode(',', $this->config->bug->list->customBatchEditFields) as $field) $customFields[$field] = $this->lang->bug->$field; - $this->view->title = zget($products, $productID, '', $products[$productID]->name . $this->lang->colon) . "BUG" . $this->lang->bug->batchEdit; + $this->view->title = ($productID ? (zget($products, $productID, '', $products[$productID]->name . $this->lang->colon) . "BUG") : '') . $this->lang->bug->batchEdit; $this->view->customFields = $customFields; /* Judge whether the editedBugs is too large and set session. */