diff options
author | ivan <ivan> | 2004-12-09 22:23:32 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-12-09 22:23:32 +0000 |
commit | cff2163f34291d4bdafcf8c218190dfa9ba0fe7d (patch) | |
tree | e1846886edc8351cf886875ce4126c87219c6f6b | |
parent | 0857cba67d87cdbfac318f8912b9e8147600a2a2 (diff) |
fix links to null custom fields
-rw-r--r-- | FS/FS/TicketSystem/RT_External.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/FS/FS/TicketSystem/RT_External.pm b/FS/FS/TicketSystem/RT_External.pm index 2968a2589..be0823860 100644 --- a/FS/FS/TicketSystem/RT_External.pm +++ b/FS/FS/TicketSystem/RT_External.pm @@ -135,7 +135,12 @@ sub href_customer_tickets { $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'. |