From 7c59518fb0e98bc65cbaac0bf0edc849a25c7a2c Mon Sep 17 00:00:00 2001 From: hecht Date: Thu, 1 Sep 2011 18:37:58 +0000 Subject: [PATCH] just forgotten to put one single space into the sql statement ... --- ag/ranglist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ag/ranglist.php b/ag/ranglist.php index 116dde8..b0c9ef5 100644 --- a/ag/ranglist.php +++ b/ag/ranglist.php @@ -40,7 +40,7 @@ function displayHighscore($wahl, $char_name, $user, $char_vorhanden){ if($wahl == 'geld') { $choice_s = mysql_query('SELECT geld, id FROM user where id >= 2 ORDER BY geld DESC LIMIT 50'); } else { - $sql = 'SELECT c.name, c.level, c.besitzer, c.starke, c.preis, c.speed, c.glueck, c.bild, c.verteidigung, c.ausdauer, c.siege, c.niederlagen, c.id as charid, starke+verteidigung+speed+ausdauer+glueck as powerlevel' . + $sql = 'SELECT c.name, c.level, c.besitzer, c.starke, c.preis, c.speed, c.glueck, c.bild, c.verteidigung, c.ausdauer, c.siege, c.niederlagen, c.id as charid, starke+verteidigung+speed+ausdauer+glueck as powerlevel ' . 'WHERE rasse != \'NPC\' ORDER BY ('.$wahl.') DESC LIMIT 50'; // Uncomment for hp/mp in PL