projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2921124
)
don't error out when ticket_system-default_queueid hasn't been set yet
author
ivan
<ivan>
Sat, 15 Oct 2005 13:48:08 +0000
(13:48 +0000)
committer
ivan
<ivan>
Sat, 15 Oct 2005 13:48:08 +0000
(13:48 +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
e1aec58
..
b69af43
100644
(file)
--- a/
FS/FS/TicketSystem/RT_External.pm
+++ b/
FS/FS/TicketSystem/RT_External.pm
@@
-219,6
+219,8
@@
sub queues {
sub queue {
my($self, $queueid) = @_;
+ return '' unless $queueid;
+
my $sql = "select name from queues where id = ?";
my $sth = $dbh->prepare($sql) or die $dbh->errstr. " preparing $sql";
$sth->execute($queueid) or die $sth->errstr. " executing $sql";