From d4f6d6c2da5d5459d1e32df469bcb4f2215ea82a Mon Sep 17 00:00:00 2001
From: Michael Andreen
Date: Thu, 14 Dec 2006 19:21:43 +0000
Subject: [PATCH] minor fixes
---
intel.pl | 3 ++-
templates/intel.tmpl | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/intel.pl b/intel.pl
index 2b33c5e..30b6cf8 100644
--- a/intel.pl
+++ b/intel.pl
@@ -143,6 +143,7 @@ if ($planet){
OR ( t.alliance_id = o.alliance_id AND i.mission = 'Attack'))
AND i.sender NOT IN (SELECT planet FROM users u NATURAL JOIN groupmembers gm WHERE gid = 8 AND planet IS NOT NULL)
$showticks}));
+ $query->execute() or print $DBH->errstr;
my @intellists;
my @intel;
@@ -154,7 +155,7 @@ if ($planet){
}
push @intel,$intel;
}
- push @intellists,{Message => q{Missions where alliances doesn't match}, Intel => \@intel, Origin => 1, Target => 1};
+ push @intellists,{Message => q{Intel where alliances doesn't match}, Intel => \@intel, Origin => 1, Target => 1};
$BODY->param(IntelLIsts => \@intellists);
}
my $query = $DBH->prepare(q{SELECT i.id, u.username, i.message, report_date FROM intel_messages i
diff --git a/templates/intel.tmpl b/templates/intel.tmpl
index e6df411..9ad77d1 100644
--- a/templates/intel.tmpl
+++ b/templates/intel.tmpl
@@ -4,7 +4,7 @@
-Show all ticks
+Show all ticks