Commit d47b333571b9f5e17aa163c8da512a82c88c4fc3

Authored by Jalaloedien
1 parent 75f37e5c

KTS-1637

"Clicking on a rss feed for documents outputs a 'insufficient permissions' message eventhough the user does have required permissions for the document"
Fixed.

Reviewed By: Kevin

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6172 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/rssplugin/RSSDocumentLinkAction.php
... ... @@ -25,7 +25,7 @@ class RSSDocumentLinkAction extends KTDocumentAction {
25 25 $iFId = $oDocument->getID();
26 26  
27 27 // return link...there MIGHT be a nicer way of doing this?
28   - return "<a href='".KTBrowseUtil::buildBaseUrl('rss')."?folderId=".$iFId."' target='_blank'><img src='".$hostPath."resources/graphics/rss.gif' alt='RSS' border=0/></a>";
  28 + return "<a href='".KTBrowseUtil::buildBaseUrl('rss')."?docId=".$iFId."' target='_blank'><img src='".$hostPath."resources/graphics/rss.gif' alt='RSS' border=0/></a>";
29 29 }
30 30 }
31 31 ?>
32 32 \ No newline at end of file
... ...