]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Prevent delivering AP comments to Diaspora
[friendica.git] / mod / videos.php
index 3cb2b84bcdb092c90079b74cd41c85b3ce1d2717..a3344a8b4300d2c04550489c35f07a286bb55a7c 100644 (file)
@@ -67,7 +67,7 @@ function videos_init(App $a)
                        '$photo' => $profile['photo'],
                        '$addr' => $profile['addr'] ?? '',
                        '$account_type' => $account_type,
-                       '$about' => BBCode::convert($profile['about'] ?? ''),
+                       '$about' => BBCode::convert($profile['about']),
                ]);
 
                // If not there, create 'aside' empty
@@ -225,7 +225,7 @@ function videos_content(App $a)
                $total = count($r);
        }
 
-       $pager = new Pager(DI::args()->getQueryString(), 20);
+       $pager = new Pager(DI::l10n(), DI::args()->getQueryString(), 20);
 
        $r = q("SELECT hash, ANY_VALUE(`id`) AS `id`, ANY_VALUE(`created`) AS `created`,
                ANY_VALUE(`filename`) AS `filename`, ANY_VALUE(`filetype`) as `filetype`