diff options
author | Mario <mario@mariovavti.com> | 2023-05-10 16:09:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-05-10 16:09:36 +0000 |
commit | 690ff955faae427c4c865b6e6b8cce636e100797 (patch) | |
tree | fc3a817979c51866b4a976c758e8582123fba1bb | |
parent | d8306fca6fcfe0d63845be71c42a89ab7a947185 (diff) | |
parent | 3fb27bdc550a0c3f84eff16a49cf78179a0b681c (diff) | |
download | volse-hubzilla-690ff955faae427c4c865b6e6b8cce636e100797.tar.gz volse-hubzilla-690ff955faae427c4c865b6e6b8cce636e100797.tar.bz2 volse-hubzilla-690ff955faae427c4c865b6e6b8cce636e100797.zip |
Merge branch 'dev' into 8.4RC
-rw-r--r-- | include/attach.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php index fc146d008..b7fb17f38 100644 --- a/include/attach.php +++ b/include/attach.php @@ -220,7 +220,7 @@ function attach_list_files($channel_id, $observer, $hash = '', $filename = '', $ $sql_extra .= protect_sprintf(" and filetype like '%" . dbesc($filetype) . "%' "); if($entries) - $limit = " limit " . intval($start) . ", " . intval($entries) . " "; + $limit = " LIMIT " . intval($entries) . " OFFSET " . intval($start) . " "; if(! $since) $since = NULL_DATE; |