Fix saving label.

This commit is contained in:
Boris Gulay
2018-12-22 16:55:30 +03:00
parent d8ea3d5539
commit 68164414c2

View File

@@ -390,8 +390,8 @@ class ident_switch extends rcube_plugin
{ {
$retVal = array(); $retVal = array();
$retVal['common.label'] = self::get_field_value('common', 'label'); $retVal['label'] = self::get_field_value('common', 'label');
if (strlen($retVal['common.label']) > 32) if (strlen($retVal['label']) > 32)
$retVal['err'] = 'label.long'; $retVal['err'] = 'label.long';
else else
{ {