Skip to content

Commit

Permalink
Update recent.php
Browse files Browse the repository at this point in the history
added $arrTopics = []; to init the variable.
  • Loading branch information
deepend-tildeclub authored Jan 23, 2024
1 parent 92d32e5 commit d7ba414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/forum/recent.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
$NUM_PER_PAGE = 25;
}


$arrTopics = [];
$accessableTopicsSQL = "SELECT forumtopic_id, forumboard_id FROM ".$dbprefix."forum_topic";
$result = $mysqli->query($accessableTopicsSQL);
while($row = $result->fetch_assoc()) {
Expand Down Expand Up @@ -118,4 +118,4 @@

}

require_once(BASE_DIRECTORY."forum/templates/_footer.php");
require_once(BASE_DIRECTORY."forum/templates/_footer.php");

0 comments on commit d7ba414

Please sign in to comment.