mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 14:30:05 +01:00
Fix historylog pagination, found by Filippos Karailanidis
This commit is contained in:
parent
71a7609b34
commit
ced6c63ddd
@ -279,10 +279,7 @@ class History
|
|||||||
}
|
}
|
||||||
$rows[] = Api\Db::strip_array_keys($row,'history_');
|
$rows[] = Api\Db::strip_array_keys($row,'history_');
|
||||||
}
|
}
|
||||||
if ($mysql_calc_rows)
|
$total = $GLOBALS['egw']->db->union($_query,__LINE__,__FILE__)->NumRows();
|
||||||
{
|
|
||||||
$total = $GLOBALS['egw']->db->query('SELECT FOUND_ROWS()')->fetchColumn();
|
|
||||||
}
|
|
||||||
|
|
||||||
return $total;
|
return $total;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user