advocaite/Travianx — Issue #40: Top 10 link error
Author: akshay9
Created: 2011-11-12 15:51:06+00:00
State: open

at the right side we get a bug at the top 10 page
I think i found a fix

the 13th line says
$query = mysql_query('SELECT * FROM `' . TB_PREFIX . 'links` WHERE `userid` = ' . $session->uid . ' ORDER BY `pos` ASC') or die(mysql_error());

change it to
$query = mysql_query('SELECT * FROM `' . TB_PREFIX . 'links` WHERE `userid` = ' . $session->uid . ' ORDER BY `pos` ASC') or die();