Commit e8708742f937792de0ff9433868c9c0ba259f1cc
1 parent
3b6b89c5
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 | } | ... | ... |