holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r13114: LJSUP-14441: Incorrect error when creati...

Committer: akanashin
LJSUP-14441: Incorrect error when creating account in russian
U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2013-01-16 14:38:45 UTC (rev 13113)
+++ trunk/cgi-bin/ljcom.pl	2013-01-17 09:02:40 UTC (rev 13114)
@@ -817,7 +817,7 @@
     }
 
     # check username and reverse of username
-    if (defined $user) {
+    if ($user) {
         if (index($user, $lc_pass) >= 0 || index($lc_pass, $user) >= 0) {
             return $code_words->('ljcom.badpass.username');
         }

Tags: akanashin, holyandrew, ljcom, pl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments