Commit 5e6585e9b0e4c448cae2eafec0c472aed3dd3693
1 parent
7f872704
Folder here is stored in $this->oFolder, not $oFolder
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5531 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
3 deletions
lib/actions/folderaction.inc.php
| @@ -142,10 +142,10 @@ class KTFolderAction extends KTStandardDispatcher { | @@ -142,10 +142,10 @@ class KTFolderAction extends KTStandardDispatcher { | ||
| 142 | $this->oPage->addPortlet($portlet); | 142 | $this->oPage->addPortlet($portlet); |
| 143 | 143 | ||
| 144 | if (KTPermissionUtil::userHasPermissionOnItem($this->oUser, 'ktcore.permissions.folder_details', $this->oFolder)) { | 144 | if (KTPermissionUtil::userHasPermissionOnItem($this->oUser, 'ktcore.permissions.folder_details', $this->oFolder)) { |
| 145 | - $this->oPage->setSecondaryTitle($oFolder->getName()); | 145 | + $this->oPage->setSecondaryTitle($this->oFolder->getName()); |
| 146 | } else { | 146 | } else { |
| 147 | - if (KTBrowseUtil::inAdminMode($this->oUser, $oFolder)) { | ||
| 148 | - $this->oPage->setSecondaryTitle(sprintf('(%s)', $oFolder->getName())); | 147 | + if (KTBrowseUtil::inAdminMode($this->oUser, $this->oFolder)) { |
| 148 | + $this->oPage->setSecondaryTitle(sprintf('(%s)', $this->oFolder->getName())); | ||
| 149 | } else { | 149 | } else { |
| 150 | $this->oPage->setSecondaryTitle('...'); | 150 | $this->oPage->setSecondaryTitle('...'); |
| 151 | } | 151 | } |