Trying to fix this monstrosity #1

This commit is contained in:
Domen Kajdič
2016-09-13 15:38:14 +02:00
parent 0e4b22d99f
commit 2cf2f3c343
22 changed files with 969 additions and 4733 deletions
+3 -3
View File
@@ -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;
}