projects
/
rock.divinelegy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0549f39
)
Bugfix.
author
Cameron Ball
<c.ball1729@gmail.com>
Mon, 15 Sep 2014 17:08:18 +0000
(
01:08
+0800)
committer
Cameron Ball
<c.ball1729@gmail.com>
Mon, 15 Sep 2014 17:08:18 +0000
(
01:08
+0800)
Services/Routing/Route.php
patch
|
blob
|
history
diff --git
a/Services/Routing/Route.php
b/Services/Routing/Route.php
index
cfc286b
..
9495bbc
100644
(file)
--- a/
Services/Routing/Route.php
+++ b/
Services/Routing/Route.php
@@
-10,7
+10,6
@@
class Route implements IRoute
private $_actionName;
private $_pattern;
private $_methods;
- private $_actionArgs;
private $_argNames;
private $_argValues;
@@
-70,6
+69,10
@@
class Route implements IRoute
public function getActionArgs()
{
+ if(empty($this->_argNames)) {
+ return array();
+ }
+
$argValues = array();
foreach($this->_argNames as $argName)
{