Commit e2e7e456ff2c5e8e99526d9534489e5841e1d16f
1 parent
533a4504
KTS-649: browse expects fFolderId, not fFolderID
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5118 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
4 deletions
lib/subscriptions/Subscription.inc
| ... | ... | @@ -160,9 +160,9 @@ class Subscription extends KTEntity { |
| 160 | 160 | function getContentLink() { |
| 161 | 161 | // TODO: add subscription icon |
| 162 | 162 | if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("DocumentSubscription")) { |
| 163 | - return generateControllerLink("viewDocument", "fDocumentID=$this->iExternalID", Document::getDocumentDisplayPath($this->iExternalID)); | |
| 163 | + return generateControllerLink("viewDocument", "fDocumentId=$this->iExternalID", Document::getDocumentDisplayPath($this->iExternalID)); | |
| 164 | 164 | } else if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("FolderSubscription")) { |
| 165 | - return generateControllerLink("browse", "fBrowseType=folder&fFolderID=$this->iExternalID", Folder::getFolderDisplayPath($this->iExternalID)); | |
| 165 | + return generateControllerLink("browse", "fBrowseType=folder&fFolderId=$this->iExternalID", Folder::getFolderDisplayPath($this->iExternalID)); | |
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | 168 | |
| ... | ... | @@ -171,9 +171,9 @@ class Subscription extends KTEntity { |
| 171 | 171 | */ |
| 172 | 172 | function getContentUrl() { |
| 173 | 173 | if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("DocumentSubscription")) { |
| 174 | - return generateControllerUrl("viewDocument", "fDocumentID=$this->iExternalID"); | |
| 174 | + return generateControllerUrl("viewDocument", "fDocumentId=$this->iExternalID"); | |
| 175 | 175 | } else if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("FolderSubscription")) { |
| 176 | - return generateControllerUrl("browse", "fBrowseType=folder&fFolderID=$this->iExternalID"); | |
| 176 | + return generateControllerUrl("browse", "fBrowseType=folder&fFolderId=$this->iExternalID"); | |
| 177 | 177 | } |
| 178 | 178 | } |
| 179 | 179 | ... | ... |