OSDN Git Service
(root)
/
php-libraries
/
Router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e37963
)
Fix wrong matches count #101
author
Antoine Pous
<gecko@dvp.io>
Thu, 9 Mar 2017 21:19:24 +0000
(22:19 +0100)
committer
Antoine Pous
<gecko@dvp.io>
Thu, 9 Mar 2017 21:19:24 +0000
(22:19 +0100)
src/Router.php
patch
|
blob
|
history
diff --git
a/src/Router.php
b/src/Router.php
index
15bb28c
..
0d08383
100755
(executable)
--- a/
src/Router.php
+++ b/
src/Router.php
@@
-127,7
+127,7
@@
class Router
// check arguments number
- if(count($argument_keys) !==
count($matches
)) {
+ if(count($argument_keys) !==
(count($matches) -1
)) {
continue;
}