mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 17:07:17 +00:00
Trying to fix this monstrosity #1
This commit is contained in:
+3
-3
@@ -10,10 +10,10 @@
|
||||
#################################################################################
|
||||
|
||||
// Fetch all links
|
||||
$query = $database->getLinks($session->uid);
|
||||
if (mysql_num_rows($query) > 0){
|
||||
$query = $database->getLinks($session->uid);
|
||||
if (mysqli_num_rows($query) > 0){
|
||||
$links = array();
|
||||
while($data = mysql_fetch_assoc($query)) {
|
||||
while($data = mysqli_fetch_assoc($query)) {
|
||||
$links[] = $data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user