From 98518d46fabe2793d4be61c328addf011b43d1b0 Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Tue, 11 Sep 2007 16:20:11 +0000 Subject: [PATCH] KTS-2336 "Remove
from error and info boxes" In Progress. Removed from PDF Generator. --- plugins/ktstandard/PDFGeneratorAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ktstandard/PDFGeneratorAction.php b/plugins/ktstandard/PDFGeneratorAction.php index b942ac4..a577b2f 100644 --- a/plugins/ktstandard/PDFGeneratorAction.php +++ b/plugins/ktstandard/PDFGeneratorAction.php @@ -240,14 +240,14 @@ class PDFGeneratorAction extends KTDocumentAction { } else { // Set the error messsage and redirect to view document - $this->addErrorMessage(_kt('An error occurred generating the PDF - please contact the system administrator.
' . $res)); + $this->addErrorMessage(_kt('An error occurred generating the PDF - please contact the system administrator. ' . $res)); redirect(generateControllerLink('viewDocument',sprintf(_kt('fDocumentId=%d'),$oDocument->getId()))); exit(0); } } else { // Set the error messsage and redirect to view document - $this->addErrorMessage(_kt('An error occurred generating the PDF - please contact the system administrator.
The path to the document did not exist.')); + $this->addErrorMessage(_kt('An error occurred generating the PDF - please contact the system administrator. The path to the document did not exist.')); redirect(generateControllerLink('viewDocument',sprintf(_kt('fDocumentId=%d'),$oDocument->getId()))); exit(0); } -- libgit2 0.21.4