Now always show the number of monitors in monitor view. Ticket #2463

This commit is contained in:
Arturo Gonzalez Diaz 2015-07-20 10:41:14 +02:00
parent 8531cd91fd
commit c9231ad125
1 changed files with 3 additions and 5 deletions

View File

@ -805,9 +805,7 @@ switch ($config["dbtype"]) {
if (! defined ('METACONSOLE')) {
$result = db_get_all_rows_sql ($sql);
//if ($count > $config["block_size"]) {
ui_pagination ($count, false, $offset);
//}
if ($result === false) {
$result = array ();
@ -875,9 +873,9 @@ else {
}
//if ($count_modules > $config["block_size"]) {
if ($count_modules > $config["block_size"]) {
ui_pagination ($count_modules, false, $offset);
//}
}
// Get number of elements of the pagination
$result = ui_meta_get_subset_array($result, $inferior_limit, $superior_limit);