[Rt-commit] rt branch, create-action, updated. 3b68852bc6cb09e11dccffe255390c0985dce0b0
sartak at bestpractical.com
sartak at bestpractical.com
Wed Sep 2 10:16:42 EDT 2009
The branch, create-action has been updated
via 3b68852bc6cb09e11dccffe255390c0985dce0b0 (commit)
from 487c27990b0f5d4d183bd2fc14e71489fbc213ed (commit)
Summary of changes:
lib/RT/Action/QueueBased.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 3b68852bc6cb09e11dccffe255390c0985dce0b0
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Sep 2 10:16:23 2009 -0400
caller[3] includes the package, d'oh
diff --git a/lib/RT/Action/QueueBased.pm b/lib/RT/Action/QueueBased.pm
index 7eaf0ef..610eaf2 100644
--- a/lib/RT/Action/QueueBased.pm
+++ b/lib/RT/Action/QueueBased.pm
@@ -26,7 +26,7 @@ sub arguments {
# inform the rest of the arguments of the queue so they can
# adjust valid values, etc.
# We do not want to call set_queue twice.
- my $already_setting_queue = caller eq __PACKAGE__ && (caller)[3] eq 'set_queue';
+ my $already_setting_queue = (caller(1))[3] eq __PACKAGE__.'::set_queue';
if (!$already_setting_queue && Jifty->web->request->argument('queue')) {
my $queue = Jifty->web->request->argument('queue');
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list