Improved profile page, improved "limit" handling (#5639)

* Improved profile page, improved "limit" handling

* Update will now work again

* Update will work now
This commit is contained in:
Michael Vogel 2018-08-20 06:26:05 +02:00 committed by Tobias Diekershoff
parent 47c2565917
commit 16a081871c
6 changed files with 34 additions and 55 deletions

View file

@ -1459,7 +1459,7 @@ class DBA
$limit_string = '';
if (isset($params['limit']) && is_int($params['limit'])) {
$limit_string = " LIMIT " . $params['limit'];
$limit_string = " LIMIT " . intval($params['limit']);
}
if (isset($params['limit']) && is_array($params['limit'])) {