From: Michael Andreen Date: Fri, 30 Jan 2009 17:18:01 +0000 (+0100) Subject: Bugfix, only show fleets from scans X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=9664e1a403d2c68874b479a4b66270d6e50075c6 Bugfix, only show fleets from scans --- diff --git a/lib/NDWeb/Controller/Stats.pm b/lib/NDWeb/Controller/Stats.pm index c7fa4a8..3ad7906 100644 --- a/lib/NDWeb/Controller/Stats.pm +++ b/lib/NDWeb/Controller/Stats.pm @@ -117,8 +117,7 @@ sub planet : Local { ,amount, NULL AS coords, planet, NULL AS back FROM fleets f WHERE planet = $1 AND tick <= tick() AND ( - mission = 'Full fleet' - OR fid IN (SELECT fid FROM fleet_scans) + fid IN (SELECT fid FROM fleet_scans) ) AND ( mission = 'Full fleet' OR tick >= tick() - 12