Oracle (ex_ioracle) wrote in changelog,
Oracle
ex_ioracle
changelog

[ljcom] r11104: LJSV-1594: S2 error displaying on Nebula...

Committer: skomarov
LJSV-1594: S2 error displaying on Nebula layout
U   trunk/bin/upgrading/s2layers/nebula/layout.s2
Modified: trunk/bin/upgrading/s2layers/nebula/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/nebula/layout.s2	2011-10-17 21:43:48 UTC (rev 11103)
+++ trunk/bin/upgrading/s2layers/nebula/layout.s2	2011-10-18 09:31:20 UTC (rev 11104)
@@ -1080,7 +1080,7 @@
 }
 
 function EntryPage::lay_nav_links() : string[] {
-    var string[] ret; var int i = 0;
+    var string[] ret = []; var int i = 0;
     var Link prev = $.entry->get_link("nav_prev");
     var Link next = $.entry->get_link("nav_next");
 
@@ -1096,7 +1096,7 @@
 }
 
 function YearPage::lay_nav_links() : string[] {
-    var string[] ret; var int i = 0;
+    var string[] ret = []; var int i = 0;
     foreach var YearYear y ($.years) {
     if ($y.displayed) {
          $ret[$i] = """<strong>$y.year</strong>\n""";

Tags: ioracle, ljcom, s2, skomarov
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