* Fix error of bug::batchEdit in my.

This commit is contained in:
liumengyi
2023-10-17 17:12:30 +08:00
parent 763da34245
commit 952455ad2d
+1 -1
View File
@@ -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. */