[Rt-commit] [rtir] 01/03: Refactoring
Jesse Vincent
jesse at bestpractical.com
Wed Mar 25 00:58:59 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 6d1eae8378223249a689b91eaa67b8a31e204518
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Mar 24 21:56:00 2015 -0700
Refactoring
---
html/RTIR/Elements/SelectRTIRQueue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/html/RTIR/Elements/SelectRTIRQueue b/html/RTIR/Elements/SelectRTIRQueue
index 802edac..5af11c2 100644
--- a/html/RTIR/Elements/SelectRTIRQueue
+++ b/html/RTIR/Elements/SelectRTIRQueue
@@ -114,9 +114,9 @@ if ( not defined $session{$cache_key} ) {
}
while (my $object = $collection->Next) {
+ my $object_constituency =$object->FirstCustomFieldValue('RTIR Constituency') ||'';
next if ($LimitToConstituency &&
- ($object->FirstCustomFieldValue('RTIR Constituency') ||'')
- ne ($Constituency||''));
+ ($object_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