diff options
Diffstat (limited to 'src/controllers/FunctionsController.php')
-rw-r--r-- | src/controllers/FunctionsController.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/controllers/FunctionsController.php b/src/controllers/FunctionsController.php index b4d37781..64abe050 100644 --- a/src/controllers/FunctionsController.php +++ b/src/controllers/FunctionsController.php @@ -118,7 +118,7 @@ class FunctionsController extends BaseController 'function' => [ 'title' => $this->lang['strfunction'], 'field' => Decorator::field('proproto'), - 'url' => \containerInstance()->subFolder . \sprintf( + 'url'=>containerInstance()->getDestinationWithLastTab('function'), '/redirect/function?action=properties&%s&', $this->misc->href ), @@ -144,8 +144,7 @@ class FunctionsController extends BaseController 'field' => Decorator::field('procomment'), ], ]; - - $actions = [ + $actions = [ 'multiactions' => [ 'keycols' => ['function' => 'proproto', 'function_oid' => 'prooid'], 'url' => 'functions', @@ -226,7 +225,7 @@ class FunctionsController extends BaseController ] ), ]; - + return $this->printTree($funcs, $attrs, 'functions'); } |