Issue 6032: Avoid fatal error
authorMichael <heluecht@pirati.ca>
Mon, 12 Nov 2018 19:10:40 +0000 (19:10 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 12 Nov 2018 19:10:40 +0000 (19:10 +0000)
mod/profile.php

index 59f3bb5..218cc26 100644 (file)
@@ -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 = "";