From e8708742f937792de0ff9433868c9c0ba259f1cc Mon Sep 17 00:00:00 2001 From: nbm Date: Fri, 17 Nov 2006 13:31:21 +0000 Subject: [PATCH] KTS-1469: don't offer checkin if it is not available. --- view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view.php b/view.php index 59712b7..ec9303b 100755 --- a/view.php +++ b/view.php @@ -194,7 +194,7 @@ class ViewDocumentDispatcher extends KTStandardDispatcher { foreach ($this->actions as $oDocAction) { $sActName = $oDocAction->sName; if ($sActName == 'ktcore.actions.document.cancelcheckout') { - if ($oDocAction->_show()) { + if ($oDocAction->getInfo()) { $bCanCheckin = true; } } -- libgit2 0.21.4