mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
tune layout of new message modal, fix pagination of message table
This commit is contained in:
@@ -292,7 +292,7 @@ class Message_model extends DB_Model
|
||||
if (isError($count))
|
||||
return $count;
|
||||
|
||||
$count = floor(current(getData($count))->count/$limit);
|
||||
$count = ceil(current(getData($count))->count/$limit);
|
||||
$sql = "
|
||||
SELECT * FROM (
|
||||
" . $sql_base . "
|
||||
|
||||
Reference in New Issue
Block a user