ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r17594: LJSV-1177: Navigation links are missing ...

Committer: ssafronova
LJSV-1177: Navigation links are missing in certain journals
U   trunk/cgi-bin/LJ/S2/RecentPage.pm
Modified: trunk/cgi-bin/LJ/S2/RecentPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/RecentPage.pm	2010-10-22 09:50:29 UTC (rev 17593)
+++ trunk/cgi-bin/LJ/S2/RecentPage.pm	2010-10-22 10:24:21 UTC (rev 17594)
@@ -291,7 +291,7 @@
     # unless we didn't even load as many as we were expecting on this
     # page, then there are more (unless there are exactly the number shown
     # on the page, but who cares about that)
-    unless ($itemnum != $itemshow) {
+    unless (scalar(@items) != $itemshow) {
         $nav->{'backward_count'} = $itemshow;
         if ($skip == $maxskip) {
             my $date_slashes = $lastdate;  # "yyyy mm dd";

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