Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r22029: LJSUP-12126: Port choose date widget fro...

Committer: anazarov
LJSUP-12126: Port choose date widget from the old update.bml page
U   trunk/cgi-bin/LJ/Lang.pm
Modified: trunk/cgi-bin/LJ/Lang.pm
===================================================================
--- trunk/cgi-bin/LJ/Lang.pm	2012-05-22 14:02:18 UTC (rev 22028)
+++ trunk/cgi-bin/LJ/Lang.pm	2012-05-22 14:19:55 UTC (rev 22029)
@@ -683,7 +683,8 @@
 
     $LJ::_ML_USED_STRINGS{$code} = $text if $LJ::IS_DEV_SERVER;
 
-    return $text || ( $LJ::IS_DEV_SERVER ? "[uhhh: $code]" : "" );
+    return $text if defined $text;
+    return $LJ::IS_DEV_SERVER? "[uhhh: $code]" : "";
 }
 
 # Loads multiple language strings at once.  These strings

Tags: anazarov, livejournal, nfokz, pm
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