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 --- program/steps/addressbook/print.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/steps/addressbook/print.inc b/program/steps/addressbook/print.inc index cf7a522..232e105 100644 --- a/program/steps/addressbook/print.inc +++ b/program/steps/addressbook/print.inc @@ -1,6 +1,6 @@ <?php -/* +/** +-----------------------------------------------------------------------+ | program/steps/addressbook/print.inc | | | @@ -83,7 +83,7 @@ return false; } - $i_size = !empty($attrib['size']) ? $attrib['size'] : 40; + $i_size = $attrib['size'] ?: 40; $form = array( 'contact' => array( -- Gitblit v1.9.1