diff --git a/module/bug/control.php b/module/bug/control.php index cae1c6348f..0c3f398b4c 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -940,7 +940,7 @@ class bug extends control /* Send it. */ $this->loadModel('mail')->send($toList, $productName . ':' . 'BUG #'. $bug->id . $this->lang->colon . $bug->title, $mailContent, $ccList); - if($this->mail->isError()) echo js::error($this->mail->getError()); + if($this->mail->isError()) trigger_error(join("\n", $this->mail->getError())); } /** diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index 932ee6e1bc..8e3dce804a 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -21,7 +21,7 @@ js::set('userList', array_keys($users)); js::set('page', 'create'); ?> -