[Rt-commit] rt branch, 3.999-trunk, updated. 4a50f3a382f98a19be5208309f462d26d2a81b1a
? sunnavy
sunnavy at bestpractical.com
Mon Apr 5 08:45:49 EDT 2010
The branch, 3.999-trunk has been updated
via 4a50f3a382f98a19be5208309f462d26d2a81b1a (commit)
from d4c67a64157d943c6c7135da168fd1c0ecbf091d (commit)
Summary of changes:
lib/RT/Model/Ticket.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 4a50f3a382f98a19be5208309f462d26d2a81b1a
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon Apr 5 20:45:59 2010 +0800
$meta is not always set
diff --git a/lib/RT/Model/Ticket.pm b/lib/RT/Model/Ticket.pm
index fca4371..34d5fe8 100755
--- a/lib/RT/Model/Ticket.pm
+++ b/lib/RT/Model/Ticket.pm
@@ -1070,7 +1070,7 @@ sub validate_queue {
my $queue_obj = RT::Model::Queue->load($value);
- if ($meta->{for} eq 'create') {
+ if ( $meta && $meta->{for} eq 'create') {
if ( $queue_obj->disabled ) {
Jifty->log->debug( "$self Disabled queue '"
. $queue_obj->name
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list