mirror of
https://github.com/friendica/friendica
synced 2025-04-27 19:50:12 +00:00
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:
parent
47c2565917
commit
16a081871c
6 changed files with 34 additions and 55 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue