Commit 80f4428e80fe8a46fce87d713c3cc5d9bba8b218

Authored by Neil Blakey-Milner
1 parent e7e6bb97

Don't check for disabled anymore.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4884 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
lib/widgets/portlet.inc.php
@@ -78,7 +78,7 @@ class KTActionPortlet extends KTPortlet { @@ -78,7 +78,7 @@ class KTActionPortlet extends KTPortlet {
78 foreach ($actions as $action) { 78 foreach ($actions as $action) {
79 $aInfo = $action->getInfo(); 79 $aInfo = $action->getInfo();
80 80
81 - if (($aInfo !== null) and ($aInfo["disabled"] === false)) { 81 + if ($aInfo !== null) {
82 if ($aInfo["name"] == $currentaction) { 82 if ($aInfo["name"] == $currentaction) {
83 unset($aInfo["url"]); 83 unset($aInfo["url"]);
84 } 84 }