From 1baeefa87988ad23631bfe2f65a3430bfc0218ce Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Tue, 4 Mar 2003 08:11:57 +0000 Subject: [PATCH] added documentID to error pages --- presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php index 8ad17e6..9009263 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php @@ -92,15 +92,15 @@ if (checkSession()) { } else { // this document is already checked out // TODO: for extra credit, tell the user who has this document checked out - $oPatternCustom->setHtml(renderErrorPage("This document is already checked out")); + $oPatternCustom->setHtml(renderErrorPage("This document is already checked out", $fDocumentID)); } } else { // no permission to checkout the document - $oPatternCustom->setHtml(renderErrorPage("You don't have permission to check out this document")); + $oPatternCustom->setHtml(renderErrorPage("You don't have permission to check out this document", $fDocumentID)); } } else { // couldn't instantiate the document - $oPatternCustom->setHtml(renderErrorPage("Could not check out this document")); + $oPatternCustom->setHtml(renderErrorPage("Could not check out this document", $fDocumentID)); } } else { // no document id was set when coming to this page, -- libgit2 0.21.4