From 81f67a4de2be1d54457406b10b93ff0e905c8ac8 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 6 Feb 2017 15:46:18 +0100 Subject: [PATCH] Don't use each() deprecated in PHP 7.2 --- installer/config.php | 3 +-- plugins/debug_logger/debug_logger.php | 2 +- plugins/debug_logger/runlog/runlog.php | 2 +- plugins/enigma/lib/enigma_mime_message.php | 4 ++-- .../lib/Roundcube/rcube_sieve_engine.php | 2 +- .../lib/Roundcube/rcube_sieve_script.php | 2 +- plugins/password/drivers/ximss.php | 2 +- .../squirrelmail_usercopy.php | 2 +- program/include/rcmail.php | 8 ++++---- program/lib/Roundcube/rcube_imap.php | 2 +- program/lib/Roundcube/rcube_imap_generic.php | 10 ++++------ program/lib/Roundcube/rcube_message.php | 3 ++- program/lib/Roundcube/rcube_mime.php | 2 +- program/lib/Roundcube/rcube_mime_decode.php | 14 +++++--------- program/lib/Roundcube/rcube_utils.php | 2 +- program/lib/Roundcube/rcube_vcard.php | 6 +++--- program/steps/addressbook/func.inc | 2 +- program/steps/settings/edit_identity.inc | 2 +- 18 files changed, 32 insertions(+), 38 deletions(-) diff --git a/installer/config.php b/installer/config.php index 95057ef3c..19a65bbca 100644 --- a/installer/config.php +++ b/installer/config.php @@ -673,8 +673,7 @@ echo $select_param_folding->show(strval($RCI->getprop('mime_param_folding'))); list_plugins(); -foreach($plugins as $p) -{ +foreach ($plugins as $p) { $p_check = new html_checkbox(array('name' => '_plugins_'.$p['name'], 'id' => 'cfgplugin_'.$p['name'], 'value' => $p['name'])); echo '