From 68164414c2f39fa22d5ca69bd3007c5f0b746c5e Mon Sep 17 00:00:00 2001 From: Boris Gulay Date: Sat, 22 Dec 2018 16:55:30 +0300 Subject: [PATCH] Fix saving label. --- ident_switch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ident_switch.php b/ident_switch.php index 3134b65..22491e1 100644 --- a/ident_switch.php +++ b/ident_switch.php @@ -390,8 +390,8 @@ class ident_switch extends rcube_plugin { $retVal = array(); - $retVal['common.label'] = self::get_field_value('common', 'label'); - if (strlen($retVal['common.label']) > 32) + $retVal['label'] = self::get_field_value('common', 'label'); + if (strlen($retVal['label']) > 32) $retVal['err'] = 'label.long'; else {