Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[ljcom] r11136: LJSUP-9934: Refactoring of print_comment...

Committer: mchervonniy
LJSUP-9934: Refactoring of print_comment_partial() function in s2 styles
U   trunk/bin/upgrading/s2layers/3column/layout.s2
Modified: trunk/bin/upgrading/s2layers/3column/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/3column/layout.s2	2011-11-01 14:49:30 UTC (rev 11135)
+++ trunk/bin/upgrading/s2layers/3column/layout.s2	2011-11-02 08:13:09 UTC (rev 11136)
@@ -590,7 +590,8 @@
         $ip = """    """ + $c.metadata{"poster_ip"};
     }
     var string poster = defined $c.poster ? $c.poster->as_string() : "<b>$*text_poster_anonymous</b>";
-    var string poster_name; $poster_name= $c.poster.name;
+    var string poster_name;
+    $poster_name= defined $c.poster ? $c.poster.name : "";
     var string pic;
     if (defined $c.userpic and $*comment_userpic_style != "off") {
         $pic = """

Tags: fiskus_boulder, ljcom, mchervonniy, s2
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