[Slashdotjp-dev 1385] [916] use "Anonymous Coward" as name for submission when the name is blank (for trunk)

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 1月 6日 (火) 14:19:52 JST


Revision: 916
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=916
Author:   tach
Date:     2009-01-06 14:19:52 +0900 (Tue, 06 Jan 2009)

Log Message:
-----------
use "Anonymous Coward" as name for submission when the name is blank (for trunk)

Modified Paths:
--------------
    slashjp/trunk/plugins/Submit/submit.pl


-------------- next part --------------
Modified: slashjp/trunk/plugins/Submit/submit.pl
===================================================================
--- slashjp/trunk/plugins/Submit/submit.pl	2009-01-06 05:19:40 UTC (rev 915)
+++ slashjp/trunk/plugins/Submit/submit.pl	2009-01-06 05:19:52 UTC (rev 916)
@@ -636,7 +636,7 @@
 	my $submission = {
 		email		=> $form->{email},
 		uid		=> $uid,
-		name		=> $form->{name},
+		name		=> $form->{name} || "Anonymous Coward",
 		story		=> $form->{story},
 		subj		=> $form->{subj},
 		tid		=> $form->{tid},


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