diff options
author | Ronald Beilsma <beilsma@gmail.com> | 2011-12-28 12:59:04 +0100 |
---|---|---|
committer | Ronald Beilsma <beilsma@gmail.com> | 2011-12-28 12:59:04 +0100 |
commit | 345e7ee1c655c53b8022c3e725a4266e15bd2542 (patch) | |
tree | d6b7730593f5f75775e935f7090920a90aba1484 | |
parent | 6924e40a4841eeb87d4c38294cfbe452bb6368cb (diff) |
fixed bug in pagination library
return value of ceil is of type float
-rw-r--r-- | system/libraries/Pagination.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php index 008c15192..d10bef3e5 100644 --- a/system/libraries/Pagination.php +++ b/system/libraries/Pagination.php @@ -131,7 +131,7 @@ class CI_Pagination { $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 ''; } |