diff options
Diffstat (limited to 'html/includes/weaponstats.php')
-rw-r--r-- | html/includes/weaponstats.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/includes/weaponstats.php b/html/includes/weaponstats.php index ff97685..ddfd162 100644 --- a/html/includes/weaponstats.php +++ b/html/includes/weaponstats.php @@ -55,8 +55,8 @@ uts_weaponstats AS w w.weapon";
}
- $q_weapons = mysql_query($sql_weapons) or die(mysql_error());
- while ($r_weapons = zero_out(mysql_fetch_array($q_weapons))) {
+ $q_weapons = mysqli_query($GLOBALS["___mysqli_link"], $sql_weapons) or die(mysqli_error($GLOBALS["___mysqli_link"]));
+ while ($r_weapons = zero_out(mysqli_fetch_array($q_weapons))) {
$weaponid = intval($r_weapons['weaponid']);
$playerid = intval($r_weapons['playerid']);
|