From bc51e0f49d70e67b23a4e68a8abeac0cda45e682 Mon Sep 17 00:00:00 2001 From: Gareth Luckett Date: Thu, 9 Jan 2014 15:11:00 +0000 Subject: [PATCH] Fixed incorrect class name for getNext() function from 'previous' to 'next'. --- src/Kmd/Pagination/BootstrapPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kmd/Pagination/BootstrapPresenter.php b/src/Kmd/Pagination/BootstrapPresenter.php index d5986ac..b9fdb5e 100644 --- a/src/Kmd/Pagination/BootstrapPresenter.php +++ b/src/Kmd/Pagination/BootstrapPresenter.php @@ -58,7 +58,7 @@ public function getPrevious($text = null) public function getNext($text = null) { $text = \Config::get('pagination::slider.next_link_text', $text); - $class = \Config::get('pagination::align_simple') ? 'previous' : ''; + $class = \Config::get('pagination::align_simple') ? 'next' : ''; // If the current page is greater than or equal to the last page, it means we // can't go any further into the pages, as we're already on this last page // that is available, so we will make it the "next" link style disabled.