Commit c65acf02ac5fe7cc82a69a995d26fa64b759658b
1 parent
f0b2e311
updated comment
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1414 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php
| @@ -92,6 +92,8 @@ if (checkSession()) { | @@ -92,6 +92,8 @@ if (checkSession()) { | ||
| 92 | } else { | 92 | } else { |
| 93 | // this document is already checked out | 93 | // this document is already checked out |
| 94 | // TODO: for extra credit, tell the user who has this document checked out | 94 | // TODO: for extra credit, tell the user who has this document checked out |
| 95 | + // but we don't display the check out button unless they have the document checked out already | ||
| 96 | + // so we should ever get here. | ||
| 95 | $oPatternCustom->setHtml(renderErrorPage("This document is already checked out", $fDocumentID)); | 97 | $oPatternCustom->setHtml(renderErrorPage("This document is already checked out", $fDocumentID)); |
| 96 | } | 98 | } |
| 97 | } else { | 99 | } else { |