From fc2e6e217cadd58be6f596d274bd4437d132439a Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sat, 11 Oct 2025 06:19:19 +0200 Subject: [PATCH] fix folder parameter to hook 'folderRowAction' --- views/bootstrap/class.Bootstrap.php | 2 +- views/bootstrap4/class.Bootstrap4.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index b9e3c70e3..e5960f451 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -3484,7 +3484,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) $hookObjs = $this->getHookObjects(); foreach($hookObjs as $hookObj) { if (method_exists($hookObj, 'folderRowAction')) { - $actions = $hookObj->folderRowAction($this, $folder, $actions); + $actions = $hookObj->folderRowAction($this, $subFolder, $actions); } } diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php index 90bccc26d..3dfe67b17 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -3586,7 +3586,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) $hookObjs = $this->getHookObjects(); foreach($hookObjs as $hookObj) { if (method_exists($hookObj, 'folderRowAction')) { - $actions = $hookObj->folderRowAction($this, $folder, $actions); + $actions = $hookObj->folderRowAction($this, $subFolder, $actions); } }