Commit a458850647f94392e5455dac6d7c9f1fdbeecfb2

Authored by Neil Blakey-Milner
1 parent 7719f63b

KTS-1469: don't offer checkin if it is not available.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6058 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
view.php
... ... @@ -194,7 +194,7 @@ class ViewDocumentDispatcher extends KTStandardDispatcher {
194 194 foreach ($this->actions as $oDocAction) {
195 195 $sActName = $oDocAction->sName;
196 196 if ($sActName == 'ktcore.actions.document.cancelcheckout') {
197   - if ($oDocAction->_show()) {
  197 + if ($oDocAction->getInfo()) {
198 198 $bCanCheckin = true;
199 199 }
200 200 }
... ...