Skip to content

Commit

Permalink
Fix (bf2sclone): Fix my-leaderboard not loading when cookie is set
Browse files Browse the repository at this point in the history
  • Loading branch information
leojonathanoh committed Mar 10, 2024
1 parent faaff8b commit 6847755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bf2sclone/leaderboard.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function get_pid_txt()

function getLeaderBoardEntries($LEADERBOARD)
{
$LEADERBOARD = mysqli_real_escape_string($GLOBALS['link'], $LEADERBOARD);
include( ROOT . DS . 'queries'. DS .'getLeaderBoardEntry.php' ); // imports the correct sql statement
$result = mysqli_query($GLOBALS['link'], $query) or die('Query failed: ' . mysqli_error($GLOBALS['link']));
$data = array();
Expand Down

0 comments on commit 6847755

Please sign in to comment.