projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0857cba
)
fix links to null custom fields
author
ivan
<ivan>
Thu, 9 Dec 2004 22:23:32 +0000
(22:23 +0000)
committer
ivan
<ivan>
Thu, 9 Dec 2004 22:23:32 +0000
(22:23 +0000)
FS/FS/TicketSystem/RT_External.pm
patch
|
blob
|
history
diff --git
a/FS/FS/TicketSystem/RT_External.pm
b/FS/FS/TicketSystem/RT_External.pm
index
2968a25
..
be08238
100644
(file)
--- 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'.