Skip to content

Commit

Permalink
Fix small PHP typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandra Nantel committed Aug 25, 2017
1 parent ce2a7f6 commit c7ed8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/content.index.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function view()
$total_entries = Symphony::Database()->fetchVar('count', 0, $sql);
$remaining_entries = max(0, $total_entries - ($start + $per_page));
$total_pages = max(1, ceil($total_entries * (1 / $per_page)));
$remaining_pages = max(0, $total-pages - $current_page);
$remaining_pages = max(0, $total_pages - $current_page);

if ($total_pages > 1) {
$ul = new XMLElement('ul');
Expand Down

0 comments on commit c7ed8e8

Please sign in to comment.