Update plugins/password/password.php

pull/42/head
NETLINK 13 years ago
parent 7978f872cb
commit 204e1e03e9

@ -3,7 +3,7 @@
/*
+-------------------------------------------------------------------------+
| Password Plugin for Roundcube |
| @version @package_version@ |
| @version @package_version@ |
| |
| Copyright (C) 2009-2010, Roundcube Dev. |
| |
@ -58,7 +58,7 @@ class password extends rcube_plugin
$host = isset( $_SESSION['imap_host'] ) ? $_SESSION['imap_host'] : NULL;
$hosts = $rcmail->config->get( 'password_supported_hosts' );
if ( !empty( $hosts ) and !in_array( $host, $hosts ) {
if ( !empty( $hosts ) and !in_array( $host, $hosts ) ) {
return;
}

Loading…
Cancel
Save