Ticket #354 (closed defect: fixed)
white page on Reseller user stats if domain per page is odd number
|Reported by:||sawoy||Owned by:|
|Priority:||major||Milestone:||ispCP ω 1.0 - RC3|
|Component:||Frontend (GUI)||Version:||ispCP ω 1.0.0 - RC2|
white page on Reseller user stats if domain per page is odd number.
If i set up domains per page as odd number (for example: 25) and after that under reseller go to menu "Domain statistics" i see white page due sql error in query:
SELECT admin_id FROM admin WHERE admin_type = 'user' AND created_by = ? ORDER BY admin_name ASC LIMIT 0, 12.5
need to floor items per page before use in sql queries.
P.S.: as i research it is only one place that affected by this problem.