Commit d4a3425b7ec52b97a2653851451abec497b91c8e

Authored by Neil Blakey-Milner
1 parent 31e22332

Save the nsname of the action.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3727 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/actions/actionregistry.inc.php
@@ -13,7 +13,7 @@ class KTActionRegistry { @@ -13,7 +13,7 @@ class KTActionRegistry {
13 13
14 function registerAction($slot, $name, $nsname, $path = "") { 14 function registerAction($slot, $name, $nsname, $path = "") {
15 $this->actions[$slot] = KTUtil::arrayGet($this->actions, $slot, array()); 15 $this->actions[$slot] = KTUtil::arrayGet($this->actions, $slot, array());
16 - $this->actions[$slot][$nsname] = array($name, $path); 16 + $this->actions[$slot][$nsname] = array($name, $path, $nsname);
17 } 17 }
18 18
19 function getActions($slot) { 19 function getActions($slot) {