From fef2c09616f1a89bdf1533258c63d70f7fcbbdfd Mon Sep 17 00:00:00 2001 From: nuxsmin Date: Thu, 22 Mar 2018 12:44:17 +0100 Subject: [PATCH] * [FIX] Minor bugfixes * [MOD] Updated english translation --- app/modules/web/Controllers/AccountFileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/web/Controllers/AccountFileController.php b/app/modules/web/Controllers/AccountFileController.php index c8a70b9a..6b561cbf 100644 --- a/app/modules/web/Controllers/AccountFileController.php +++ b/app/modules/web/Controllers/AccountFileController.php @@ -332,7 +332,7 @@ class AccountFileController extends ControllerBase implements CrudControllerInte try { $this->view->addTemplate('files-list', 'account'); - $this->view->assign('deleteEnabled', Request::analyzeBool('del', false)); + $this->view->assign('deleteEnabled', Request::analyzeInt('del', false)); $this->view->assign('files', $this->dic->get(AccountFileService::class)->getByAccountId($accountId)); $this->view->assign('sk', $this->session->getSecurityKey()); $this->view->assign('fileViewRoute', Acl::getActionRoute(ActionsInterface::ACCOUNT_FILE_VIEW));