Skip to content

Commit

Permalink
Merge pull request #16 from iumio/1.0
Browse files Browse the repository at this point in the history
Update ViewBasePlugin.php
  • Loading branch information
danyRafina committed Jul 24, 2018
2 parents 6983c6c + 12e1da6 commit c5ccc3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core/Additional/EngineTemplate/ViewBasePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,8 @@ final public static function route(array $params)
throw new \Exception("The parameter [name] is missing to generate a valid route", E_ERROR);
}
$route = ($im->generateRoute(((isset($params['name']))? $params['name'] : ""), ((isset($params['params']) &&
!empty($params['params']))? $params['params'] : null), null, ((isset($params['component']) &&
!empty($params['params']))? $params['params'] : null), ((isset($params['appname']) &&
!empty($params['appname']))? $params['appname'] : null), ((isset($params['component']) &&
$params['component'] == "yes")? true : false)));
return ($route);
}
Expand Down

0 comments on commit c5ccc3b

Please sign in to comment.