Skip to content

Commit

Permalink
Merge pull request #893 from Bopske/master
Browse files Browse the repository at this point in the history
Update TPdlmanager.php
  • Loading branch information
Bopske authored Feb 13, 2022
2 parents 6f6cb67 + 793f2ec commit eb7b9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TPdlmanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit eb7b9ac

Please sign in to comment.