Aleksander Machniak
2016-05-20 ab6fdfa8bc3a441590778b026b52225473424eec
Fix PHP warning when password_hosts is set, but is not an array (#5260)
1 files modified
2 ■■■ changed files
plugins/password/password.php 2 ●●● patch | view | raw | blame | history
plugins/password/password.php
@@ -369,7 +369,7 @@
        // Host exceptions
        $hosts = $rcmail->config->get('password_hosts');
        if (!empty($hosts) && !in_array($_SESSION['storage_host'], $hosts)) {
        if (!empty($hosts) && !in_array($_SESSION['storage_host'], (array) $hosts)) {
            return false;
        }