]> ruin.nu Git - ndwebbie.git/commitdiff
Bugfix, need the planet id
authorMichael Andreen <harv@ruin.nu>
Fri, 25 Jul 2008 09:12:59 +0000 (11:12 +0200)
committerMichael Andreen <harv@ruin.nu>
Fri, 25 Jul 2008 09:12:59 +0000 (11:12 +0200)
lib/NDWeb/Controller/Alliances.pm

index 983ccea3b30bd95d5284fcae4aa13eeb9fbc955e..bd25d9bd2a051ca245610db8079140699b69c996 100644 (file)
@@ -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 = ?