[freeside-commits]
freeside/FS/FS/TicketSystem RT_External.pm, 1.16, 1.17
Ivan,,,
ivan at wavetail.420.am
Sat Oct 15 06:48:10 PDT 2005
Update of /home/cvs/cvsroot/freeside/FS/FS/TicketSystem
In directory wavetail:/tmp/cvs-serv10612
Modified Files:
RT_External.pm
Log Message:
don't error out when ticket_system-default_queueid hasn't been set yet
Index: RT_External.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem/RT_External.pm,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- RT_External.pm 15 Oct 2005 11:29:53 -0000 1.16
+++ RT_External.pm 15 Oct 2005 13:48:08 -0000 1.17
@@ -219,6 +219,8 @@
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";
More information about the freeside-commits
mailing list