[Slashdotjp-dev 911] [429] fix to use emailValid() at newUser() but the function is no longer used

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 1月 18日 (金) 13:32:13 JST


Revision: 429
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=429
Author:   tach
Date:     2008-01-18 13:32:13 +0900 (Fri, 18 Jan 2008)

Log Message:
-----------
fix to use emailValid() at newUser() but the function is no longer used

Modified Paths:
--------------
    slashjp/trunk/themes/slashcode/htdocs/users.pl


-------------- next part --------------
Modified: slashjp/trunk/themes/slashcode/htdocs/users.pl
===================================================================
--- slashjp/trunk/themes/slashcode/htdocs/users.pl	2008-01-18 04:28:42 UTC (rev 428)
+++ slashjp/trunk/themes/slashcode/htdocs/users.pl	2008-01-18 04:32:13 UTC (rev 429)
@@ -573,7 +573,7 @@
 	$form->{newusernick} = nickFix($form->{newusernick});
 	my $matchname = nick2matchname($form->{newusernick});
 
-	if (!$form->{email} || $form->{email} !~ /\@/) {
+	if (!$form->{email} || !emailValid($form->{email})) {
 		print getError('email_invalid', 0, 1);
 		return;
 	} elsif ($form->{email} ne $form->{email2}) {


Slashdotjp-dev メーリングリストの案内
Back to archive index