From 3914288dc120c4cc0cbc7a85eb00780f02d7c248 Mon Sep 17 00:00:00 2001 From: joanhey Date: Tue, 21 Apr 2015 15:44:57 +0200 Subject: [PATCH] Update Router::get() --- core/kumbia/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/kumbia/router.php b/core/kumbia/router.php index b65123044..8d303c870 100644 --- a/core/kumbia/router.php +++ b/core/kumbia/router.php @@ -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 {