Skip to content

Commit

Permalink
refs #1631 : bugfix - mobile page print blank page
Browse files Browse the repository at this point in the history
 - Conditional statement to check the pagination condition.
  • Loading branch information
inureyes committed Feb 2, 2014
1 parent 350d86f commit 7fb0b1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/i/archive/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$list = array('title' => getPeriodLabel($period), 'items' => $listWithPaging[0], 'count' => $listWithPaging[1]['total']);
$paging = $listWithPaging[1];
print printMobileEntryListView($list['items'],'archive_'.$suri['page'],getPeriodLabel($period),$paging, $list['count']);
print printMobileListNavigation($paging,'archive/'.$period);
if ($context->getProperty('blog.entriesOnList') < $list['count']) print printMobileListNavigation($paging,'archive/'.$period);
printMobileHTMLFooter();
}
?>
2 changes: 1 addition & 1 deletion interface/i/tag/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$list = array('title' => $suri['value'], 'items' => $listWithPaging[0], 'count' => $listWithPaging[1]['total']);
$paging = $listWithPaging[1];
print printMobileEntryListView($list['items'],'tag_'.$suri['page'],getTagById($blogid, $suri['id']),$paging, $list['count']);
print printMobileListNavigation($paging,'tag/' . $suri['id']);
if ($context->getProperty('blog.entriesOnList') < $list['count']) print printMobileListNavigation($paging,'tag/' . $suri['id']);
}
printMobileHTMLFooter();
?>

0 comments on commit 7fb0b1e

Please sign in to comment.