]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Calls.pm
Change infrastructure for users, groups and channels
[ndwebbie.git] / lib / NDWeb / Controller / Calls.pm
index 467c7321fc40451ba6056754c25c852b996e76f9..76d7f63a04a7bd768b2c01dc778935eb15ac696b 100644 (file)
@@ -135,7 +135,7 @@ sub edit : Local {
        }
 
        my $available = $dbh->prepare(q{
-SELECT ship,amount from ships_home WHERE planet = $1 AND tick = $2
+SELECT ship,amount from ships_home WHERE pid = $1 AND tick = $2
                });
        $available->execute($call->{pid}, $call->{landing_tick});
        my $fleet = {fid => $call->{member}, mission => 'Available'