Skip to content

Commit

Permalink
Update forum.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rica-carv authored Aug 18, 2024
1 parent 651c335 commit 38cddc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e107_plugins/forum/forum.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,9 @@ function forum_track()

$trackDiz = ($trackEmailPref) ? LAN_FORUM_3040 : LAN_FORUM_3041;

// if($trackedThreadList = $forum->getTrackedThreadList(USERID, 'list')) //$trackedThreadList is not used anywhere in function, so why declare it?
if($forum->getTrackedThreadList(USERID, 'list'))

if($trackedThreadList = $forum->getTrackedThreadList(USERID, 'list'))
{

$viewed = $forum->threadGetUserViewed();
Expand Down

0 comments on commit 38cddc0

Please sign in to comment.