[Rt-commit] [rtir] 02/02: Log if Incidents queue is not loaded
Jim Brandt
jbrandt at bestpractical.com
Thu Jun 5 11:24:01 EDT 2014
This is an automated email from the git hooks/post-receive script.
jbrandt pushed a commit to branch 3.0/reports-without-constituencies
in repository rtir.
commit 2c587c644381c6c3c89b4a4d21cb1ef13b233f19
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Thu Jun 5 08:54:00 2014 -0400
Log if Incidents queue is not loaded
---
html/RTIR/Reporting/index.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/html/RTIR/Reporting/index.html b/html/RTIR/Reporting/index.html
index 9b76078..1766923 100644
--- a/html/RTIR/Reporting/index.html
+++ b/html/RTIR/Reporting/index.html
@@ -96,6 +96,7 @@
<%INIT>
my $QueueObj = RT::Queue->new($session{'CurrentUser'});
$QueueObj->Load('Incidents');
+RT::Logger->error('Unable to load Incidents queue') unless $QueueObj->Id;
my $ConstituencyDisabled = 0;
my $constituency_cf = RT::CustomField->new($session{'CurrentUser'});
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list