Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[livejournal] r19058: LJSV-1579: Error message appearing when ...

Committer: dnikolaev
LJSV-1579: Error message appearing when viewing first entry in "A Sturdy Gesture" layout

U   trunk/bin/upgrading/s2layers/sturdygesture/layout.s2
Modified: trunk/bin/upgrading/s2layers/sturdygesture/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sturdygesture/layout.s2	2011-05-13 06:39:26 UTC (rev 19057)
+++ trunk/bin/upgrading/s2layers/sturdygesture/layout.s2	2011-05-13 08:59:23 UTC (rev 19058)
@@ -380,7 +380,9 @@
     println "<li>&nbsp;</li>";
     var Link l = new Link;
     $l = $.entry->get_link("nav_next");
-    $l->lay_print_li($*text_entry_links{"nav_next"});
+    if (defined $l) {
+        $l->lay_print_li($*text_entry_links{"nav_next"});
+    }
     foreach var string ls ($.entry.link_keyseq) {
         $l = $.entry->get_link($ls);
         if (defined $l) {

Tags: livejournal, s2, wildkin
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