summaryrefslogtreecommitdiff
path: root/html/pages/watchlist.php
diff options
context:
space:
mode:
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';