[Rt-commit] [rtir] 03/18: avoid an undef warning
Jesse Vincent
jesse at bestpractical.com
Wed Mar 11 03:36:43 EDT 2015
This is an automated email from the git hooks/post-receive script.
jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.
commit 188df793b3e1c3ec12a12ad43af3984007f0d7fc
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Mar 10 18:38:13 2015 -0700
avoid an undef warning
---
html/RTIR/Elements/QueueSummary | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html/RTIR/Elements/QueueSummary b/html/RTIR/Elements/QueueSummary
index 782c0f2..4d58e31 100644
--- a/html/RTIR/Elements/QueueSummary
+++ b/html/RTIR/Elements/QueueSummary
@@ -91,7 +91,7 @@ my $queue_filter =sub {
my $q = $_;
return undef if !$q->CurrentUserHasRight('ShowTicket');
return undef if exists $unwanted->{$q->Name};
- return undef if ($m->{'RTIR_ConstituencyFilter'}
+ return undef if (defined $m->{'RTIR_ConstituencyFilter'}
&& $q->FirstCustomFieldValue('RTIR Constituency')
ne $m->{'RTIR_ConstituencyFilter'});
return 1;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list