Skip to content

Commit

Permalink
Fixed bad counts on FuseRequest
Browse files Browse the repository at this point in the history
Refs: #101
  • Loading branch information
piraz authored Nov 5, 2019
1 parent b52519f commit 744cd0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions process/FuseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ public function resolvePath($path)

try {
$action = $circuit->getAction( $path[ 1 ] );
if( count( $path > 2 ) ) {
if (count($path) > 2) {
$this->setExtraParams( array_slice(
$path, 2, count( $path ) ) );
$path, 2, count($path)));
}
return $circuit->getApplication()->getName() . "." .
$resolvedPath . "." . $action->getName();
Expand Down Expand Up @@ -351,7 +351,7 @@ public function resolvePath($path)
try {
$action = $circuit->getAction($path[2]);

if( count( $path > 3 ) ) {
if( count($path) > 3 ) {
$this->setExtraParams(
array_slice($path, 3, count($path))
);
Expand Down

0 comments on commit 744cd0b

Please sign in to comment.