From abc3c9ea5f804deae2dc66be320a5ec130b6d1fe Mon Sep 17 00:00:00 2001 From: Boris Gulay Date: Sun, 24 Nov 2019 18:51:36 +0300 Subject: [PATCH] Fix SMTP settings do not apply. Closes #40, closes #51. Thanx to sooslaca, J.P. --- ident_switch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ident_switch.php b/ident_switch.php index 0e89fdf..8cad50e 100644 --- a/ident_switch.php +++ b/ident_switch.php @@ -152,7 +152,7 @@ class ident_switch extends rcube_plugin function on_smtp_connect($args) { $iid = $_SESSION['iid' . self::MY_POSTFIX]; - if (!is_integer($iid) || $iid == -1) + if (!is_numeric($iid) || $iid == -1) return $args; $rc = rcmail::get_instance();