[Rt-commit] [rtir] 07/18: In the case where no constituency is set, we still need to compare it
Jesse Vincent
jesse at bestpractical.com
Wed Mar 11 03:36:45 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 473502e5408b7b88584dc7e176e29a3e28b37e3a
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Mar 10 19:47:03 2015 -0700
In the case where no constituency is set, we still need to compare it
---
html/RTIR/Elements/SelectRTIRQueue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/html/RTIR/Elements/SelectRTIRQueue b/html/RTIR/Elements/SelectRTIRQueue
index 35c23e3..51bf29f 100644
--- a/html/RTIR/Elements/SelectRTIRQueue
+++ b/html/RTIR/Elements/SelectRTIRQueue
@@ -111,7 +111,8 @@ if ( not defined $session{$cache_key} ) {
while (my $object = $collection->Next) {
- next if ($LimitToConstituency && $object->FirstCustomFieldValue('RTIR Constituency') ne $Constituency);
+ next if ($LimitToConstituency && ($object->FirstCustomFieldValue('RTIR Constituency') ||'')
+ ne ($Constituency||''));
if ($ShowAll
or not $CheckRight
or $session{CurrentUser}->HasRight( Object => $object, Right => $CheckRight ))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list