Skip to content

Commit

Permalink
Update Router::get()
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Apr 21, 2015
1 parent 9196f1b commit 3914288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/kumbia/router.php
Expand Up @@ -244,7 +244,7 @@ static function dispatch($cont) {
* @param string $var (opcional) un atributo: route, module, controller, action, parameters o routed
* @return array|string con el valor del atributo
*/
public static function get($var = null) {
public static function get($var = '') {
if ($var) {
return self::$_vars[$var];
} else {
Expand Down

0 comments on commit 3914288

Please sign in to comment.