summaryrefslogtreecommitdiff
path: root/html/pages/watchlist.php
diff options
context:
space:
mode:
authorMatthijs Kuiper <info@matthijskuiper.nl>2018-01-14 20:08:50 +0100
committerMatthijs Kuiper <info@matthijskuiper.nl>2018-09-01 11:48:28 +0200
commit7e5c50603cbe1307d68a2b5b8ee14409e15a9dcb (patch)
tree0fff0499b4d94f8ed2e13d72bfd97dec51cd283e /html/pages/watchlist.php
parent4d21dfcac97fd02c186bb3ce4085275b36e3790e (diff)
Update to mysqli
Diffstat (limited to 'html/pages/watchlist.php')
-rwxr-xr-xhtml/pages/watchlist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/pages/watchlist.php b/html/pages/watchlist.php
index 4f4cf1b..0da97eb 100755
--- a/html/pages/watchlist.php
+++ b/html/pages/watchlist.php
@@ -85,9 +85,9 @@ foreach ($watchlist as $pid) {
$r_pinfo = small_query($sql_pinfo);
- $q_players = mysql_query($sql_players) or die(mysql_error());
+ $q_players = mysqli_query($GLOBALS["___mysqli_link"], $sql_players) or die(mysqli_error($GLOBALS["___mysqli_link"]));
- while ($r_players = mysql_fetch_array($q_players)) {
+ while ($r_players = mysqli_fetch_array($q_players)) {
$i++;
$new = (mtimestamp($r_players['time']) > $s_lastvisit) ? true : false;
$class = ($i % 2) ? 'grey' : 'grey2';