From cc0904eb772583c3f45a9e32868032a4ba441ac1 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 12 Nov 2018 19:10:40 +0000 Subject: [PATCH] Issue 6032: Avoid fatal error --- mod/profile.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/profile.php b/mod/profile.php index 59f3bb5ae4..218cc26e4b 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -268,6 +268,8 @@ function profile_content(App $a, $update = 0) if (!DBA::isResult($items)) { return ''; } + + $pager = new Pager($a->query_string); } else { $sql_post_table = ""; -- 2.39.5