[Rt-commit] r13572 - in rt/3.8/trunk: share/html/Install

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Jun 24 16:18:28 EDT 2008


Author: sunnavy
Date: Tue Jun 24 16:18:27 2008
New Revision: 13572

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Install/Global.html

Log:
 r13778 at sunnavys-mb:  sunnavy | 2008-06-25 03:54:22 +0800
 check CommentAddress and CorrespondAddress if they are specified


Modified: rt/3.8/trunk/share/html/Install/Global.html
==============================================================================
--- rt/3.8/trunk/share/html/Install/Global.html	(original)
+++ rt/3.8/trunk/share/html/Install/Global.html	Tue Jun 24 16:18:27 2008
@@ -88,6 +88,14 @@
 'Install/Sendmail.html');
     }
 
+    for ( qw/CommentAddress CorrespondAddress/ ) {
+        if ( $ARGS{$_} && $ARGS{$_} !~ /.+ at .+/ ) {
+            push @results,
+                loc("Invalid [_1]: '[_2]' doesn't look like an email address",
+                $_, $ARGS{$_});
+        }
+    }
+
     unless ( @results ) {
         my ( $status, $msg ) = RT::Installer->SaveConfig;
 


More information about the Rt-commit mailing list