From: Michael Andreen Date: Fri, 25 Jul 2008 09:12:59 +0000 (+0200) Subject: Bugfix, need the planet id X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;h=c5850fd2283ea0188583075f0e3afdb248307c8c;p=ndwebbie.git Bugfix, need the planet id --- diff --git a/lib/NDWeb/Controller/Alliances.pm b/lib/NDWeb/Controller/Alliances.pm index 983ccea..bd25d9b 100644 --- a/lib/NDWeb/Controller/Alliances.pm +++ b/lib/NDWeb/Controller/Alliances.pm @@ -84,7 +84,7 @@ sub edit : Local { $order .= ' DESC' if $order eq 'hit_us'; my $members = $dbh->prepare(q{ - SELECT coords(x,y,z), nick, ruler, planet, race, size, score, value, xp + SELECT id, coords(x,y,z), nick, ruler, planet, race, size, score, value, xp ,planet_status,hit_us, sizerank, scorerank, valuerank, xprank FROM current_planet_stats p WHERE p.alliance_id = ?