From 793f2ec3d762ed516bca6c9f22529fbd62451d1e Mon Sep 17 00:00:00 2001 From: Bopske Date: Sun, 13 Feb 2022 22:29:45 +0100 Subject: [PATCH] Update TPdlmanager.php --- Sources/TPdlmanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/TPdlmanager.php b/Sources/TPdlmanager.php index 9fa3ee73..e5767819 100644 --- a/Sources/TPdlmanager.php +++ b/Sources/TPdlmanager.php @@ -384,7 +384,7 @@ function TPortalDLManager() $body .= '[hr][b]'.$txt['tp-download'].':[/b][br]'.$scripturl.'?action=tportal;sa=download;dl=item'.$newitem; // ok, create the topic then - $top = TP_createtopic($title, $body, $icon, $brd, $context['user']['id'], $sticky ? 1 : 0); + $top = TP_createtopic($title, $body, $icon, $brd, $sticky ? 1 : 0, $context['user']['id']); // go to announce screen? if($top > 0) {