[Jifty-commit] r1055 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sun May 14 16:41:24 EDT 2006


Author: jesse
Date: Sun May 14 16:41:23 2006
New Revision: 1055

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Dispatcher.pm

Log:
 r13578 at hualien:  jesse | 2006-05-14 16:40:41 -0400
 * The new dispatcher hash magic didn't work right with the BTDT dispatcher


Modified: jifty/trunk/lib/Jifty/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Dispatcher.pm	(original)
+++ jifty/trunk/lib/Jifty/Dispatcher.pm	Sun May 14 16:41:23 2006
@@ -359,7 +359,7 @@
     my($pkg, $rule) = @_;
     my $op = $rule->[0];
     my $ruleset;
-    if ( ($op eq "before" or $op eq "after") and ref $rule->[1] and $rule->[1]{plugin} ) {
+    if ( ($op eq "before" or $op eq "after") and ref $rule->[1] and ref $rule->[1] eq 'HASH' and $rule->[1]{plugin} ) {
         $ruleset = 'RULES_DEFERRED';
     } elsif ( $op eq 'before' ) {
         $ruleset = 'RULES_SETUP';


More information about the Jifty-commit mailing list