[Rt-commit] [rtir] 10/22: warnings avoidance

Jesse Vincent jesse at bestpractical.com
Sun Mar 29 02:50: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 fa32232a4d38bf95297681fdbd8274ed84065737
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Mar 28 20:15:48 2015 -0700

    warnings avoidance
---
 html/RTIR/Incident/Display.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/RTIR/Incident/Display.html b/html/RTIR/Incident/Display.html
index 2a6665b..6f79cb6 100644
--- a/html/RTIR/Incident/Display.html
+++ b/html/RTIR/Incident/Display.html
@@ -196,8 +196,8 @@ my $DoLinks = sub {
     my %args = ();
 
     if (RT::IR->StrictConstituencyLinking) {
-        if (RT::IR->ConstituencyFor($child) 
-            != RT::IR->ConstituencyFor($parent)) {
+        if ((RT::IR->ConstituencyFor($child) ||'')
+            ne (RT::IR->ConstituencyFor($parent) ||'')) {
             return loc("Link failed: Ticket #[_1] is associated with a different constituency", 
             $child->id );
         }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list