]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Raids.pm
Rename the shipname attribute
[ndwebbie.git] / lib / NDWeb / Controller / Raids.pm
index b756d565b13191ffa59315a93ede926b408d2adb..781f4c179db942308a2d7ee57573ad354d9ae9f5 100644 (file)
@@ -667,7 +667,7 @@ sub calcredir : Private {
        );
 
        my $ships = $dbh->prepare(q{
-SELECT id, amount FROM fleet_ships fs JOIN ship_stats s ON s.name = fs.ship
+SELECT id, amount FROM fleet_ships fs JOIN ship_stats s USING (ship)
 WHERE fid = $1
                });