freeside/FS/FS/TicketSystem RT_External.pm,1.11,1.12
ivan
ivan at pouncequick.420.am
Thu Dec 9 14:23:34 PST 2004
Update of /home/cvs/cvsroot/freeside/FS/FS/TicketSystem
In directory pouncequick:/tmp/cvs-serv19411
Modified Files:
RT_External.pm
Log Message:
fix links to null custom fields
Index: RT_External.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem/RT_External.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- RT_External.pm 9 Dec 2004 21:59:39 -0000 1.11
+++ RT_External.pm 9 Dec 2004 22:23:32 -0000 1.12
@@ -135,7 +135,12 @@
$href .= 'AND%20Queue%20%3D%20%27'. $priority_field_queue. '%27%20';
}
if ( defined($priority) && $field ) {
- $href .= '%20AND%20%27CF.'. $field. '%27%20%3D%20%27'. $priority. '%27%20';
+ $href .= '%20AND%20%27CF.'. $field. '%27%20';
+ if ( $priority ) {
+ $href .= '%3D%20%27'. $priority. '%27%20';
+ } else {
+ $href .= 'IS%20%27NULL%27%20';
+ }
}
$href .= '&Rows=100'.
More information about the freeside-commits
mailing list