From fe56a48e2af397fe01bd13eb469e3ca24c3f251c Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 22 Apr 2015 16:55:40 +0000 Subject: [PATCH] Changed Default List ID list_id requirements in email accounts admin git-svn-id: svn://192.168.202.10@2310 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/admin_email_accounts.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/admin_email_accounts.php b/agc_2-X/trunk/www/vicidial/admin_email_accounts.php index 798d61d8..e156589d 100644 --- a/agc_2-X/trunk/www/vicidial/admin_email_accounts.php +++ b/agc_2-X/trunk/www/vicidial/admin_email_accounts.php @@ -15,10 +15,11 @@ # 141007-1125 - Finalized adding QXZ translation to all admin files # 141230-0021 - Added code for on-the-fly language translations display # 150421-2255 - Fixed links to default list ID and default_list_id issue +# 150422-1229 - Changed Default List ID # -$admin_version = '2.12-9'; -$build = '150421-2255'; +$admin_version = '2.12-10'; +$build = '150422-1229'; $sh="emails"; @@ -329,10 +330,10 @@ if ($eact=="DELETE" && $confirm_deletion=="yes" && $email_account_id) -if (($SUBMIT=="SUBMIT" || $SUBMIT=="UPDATE") && $email_account_id) +if (($SUBMIT=="SUBMIT" || $SUBMIT=="UPDATE") && $email_account_id) { $error_msg=""; - if (!$default_list_id) {$error_msg.="- "._QXZ("Default list ID is invalid or null")."
";} + if ( (!$default_list_id) or ($default_list_id < 99) ) {$error_msg.="- "._QXZ("Default list ID is invalid or null")."
";} if (!$email_account_id) {$error_msg.="- "._QXZ("Email account ID is invalid or null")."
";} if (!$email_account_name) {$error_msg.="- "._QXZ("Email account name is invalid or null")."
";} if (!$email_account_server) {$error_msg.="- "._QXZ("Email account server is invalid or null")."
";}