From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 05 Feb 2016 07:25:27 -0500 Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports --- plugins/acl/acl.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php index 2526683..8058656 100644 --- a/plugins/acl/acl.php +++ b/plugins/acl/acl.php @@ -123,7 +123,7 @@ $group_id = is_array($record[$group_field]) ? $record[$group_field][0] : $record[$group_field]; if ($group) { - $users[] = array('name' => ($prefix ? $prefix : '') . $group_id, 'display' => $group, 'type' => 'group'); + $users[] = array('name' => ($prefix ?: '') . $group_id, 'display' => $group, 'type' => 'group'); $keys[] = $group; } } -- Gitblit v1.9.1