Commit 0d5494101bc800079b99da87d6db232bdca1c1e9

Authored by kevin_fourie
1 parent 110f10f8

KTC-262

"Action Restriction section of a work flow there are extra two extra columns as well as one that says "no name" after you select "Edit Action""

Fixed. Plugins now return their names correctly.

Committed By: Kevin Fourie
Reviewed By: Jonathan Byrne

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.4.5-Release-Branch@7723 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/PDFGeneratorAction.php
... ... @@ -70,7 +70,7 @@ class PDFGeneratorAction extends KTDocumentAction {
70 70 }
71 71 }
72 72 }
73   - return '';
  73 + return 'PDF Generator';
74 74 }
75 75  
76 76 function form_main() {
... ...
plugins/rssplugin/RSSDocumentLinkAction.php
... ... @@ -49,7 +49,7 @@ class RSSDocumentLinkAction extends KTDocumentAction {
49 49  
50 50 // get document id
51 51 if(!isset($oDocument)){
52   - return null;
  52 + return 'RSS';
53 53 }
54 54 $iFId = $oDocument->getID();
55 55  
... ...