X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fvideos.php;h=ea2e0d4a24f08ca84c0cca7d6406757e8f601812;hb=9fb4ba2b733d59b8a704cb8df846c3b43769503d;hp=3828b8f1fefb649df1a5973261639dac46636b10;hpb=7b352f3f74b045690cdeae507b609f7a9cc8db03;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index 3828b8f1fe..ea2e0d4a24 100644 --- a/mod/videos.php +++ b/mod/videos.php @@ -358,7 +358,7 @@ function videos_content(App $a) { $r = q("SELECT hash, `id`, `filename`, filetype FROM `attach` WHERE `uid` = %d AND filetype LIKE '%%video%%' - $sql_extra GROUP BY hash ORDER BY `created` DESC LIMIT %d , %d", + $sql_extra GROUP BY hash, `id` ORDER BY `created` DESC LIMIT %d , %d", intval($a->data['user']['uid']), intval($a->pager['start']), intval($a->pager['itemspage'])