From 1db4c050784344f9063b1afa2fd261ecb8f74380 Mon Sep 17 00:00:00 2001
From: Danilo <danilo@piumalab.org>
Date: Tue, 22 Mar 2016 05:56:09 -0400
Subject: [PATCH] Fix: Set long email addresses

---
 program/steps/addressbook/edit.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc
index a826f17..86c9a66 100644
--- a/program/steps/addressbook/edit.inc
+++ b/program/steps/addressbook/edit.inc
@@ -151,7 +151,7 @@
         'contact' => array(
             'name'    => $RCMAIL->gettext('properties'),
             'content' => array(
-                'email' => array('size' => $i_size, 'visible' => true),
+                'email' => array('size' => $i_size, 'maxlength' => 254, 'visible' => true),
                 'phone' => array('size' => $i_size, 'visible' => true),
                 'address' => array('visible' => true),
                 'website' => array('size' => $i_size),

--
Gitblit v1.9.1