projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Chained: Fix Args check treating undefind Args the same as 0.
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
DispatchType
/
Chained.pm
diff --git
a/lib/Catalyst/DispatchType/Chained.pm
b/lib/Catalyst/DispatchType/Chained.pm
index
0274dba
..
02f4c21
100644
(file)
--- a/
lib/Catalyst/DispatchType/Chained.pm
+++ b/
lib/Catalyst/DispatchType/Chained.pm
@@
-181,7
+181,7
@@
sub recurse_match {
if (!$best_action ||
@parts < @{$best_action->{parts}} ||
- (!@parts && $args_attr == 0)){
+ (!@parts && $args_attr eq 0)){
$best_action = {
actions => [ $action ],
captures=> [],