commit | 345e7ee1c655c53b8022c3e725a4266e15bd2542 | [log] [tgz] |
---|---|---|
author | Ronald Beilsma <beilsma@gmail.com> | Wed Dec 28 12:59:04 2011 +0100 |
committer | Ronald Beilsma <beilsma@gmail.com> | Wed Dec 28 12:59:04 2011 +0100 |
tree | d6b7730593f5f75775e935f7090920a90aba1484 | |
parent | 6924e40a4841eeb87d4c38294cfbe452bb6368cb [diff] |
fixed bug in pagination library return value of ceil is of type float
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php index 008c151..d10bef3 100644 --- a/system/libraries/Pagination.php +++ b/system/libraries/Pagination.php
@@ -131,7 +131,7 @@ $num_pages = ceil($this->total_rows / $this->per_page); // Is there only one page? Hm... nothing more to do here then. - if ($num_pages === 1) + if ($num_pages == 1) { return ''; }