[Catalyst-commits] r6965 -
Catalyst-Runtime/5.70/trunk/lib/Catalyst/DispatchType
gbjk at dev.catalyst.perl.org
gbjk at dev.catalyst.perl.org
Mon Oct 8 12:22:37 GMT 2007
Author: gbjk
Date: 2007-10-08 12:22:37 +0100 (Mon, 08 Oct 2007)
New Revision: 6965
Modified:
Catalyst-Runtime/5.70/trunk/lib/Catalyst/DispatchType/Chained.pm
Log:
Chained: Fix Args check treating undefind Args the same as 0.
Modified: Catalyst-Runtime/5.70/trunk/lib/Catalyst/DispatchType/Chained.pm
===================================================================
--- Catalyst-Runtime/5.70/trunk/lib/Catalyst/DispatchType/Chained.pm 2007-10-07 18:34:13 UTC (rev 6964)
+++ Catalyst-Runtime/5.70/trunk/lib/Catalyst/DispatchType/Chained.pm 2007-10-08 11:22:37 UTC (rev 6965)
@@ -181,7 +181,7 @@
if (!$best_action ||
@parts < @{$best_action->{parts}} ||
- (!@parts && $args_attr == 0)){
+ (!@parts && $args_attr eq 0)){
$best_action = {
actions => [ $action ],
captures=> [],
More information about the Catalyst-commits
mailing list