summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--calendario.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendario.module b/calendario.module
index 6967746..8aee2c1 100644
--- a/calendario.module
+++ b/calendario.module
@@ -47,7 +47,7 @@ function calendario_widget($view = NULL) {
$type = NULL;
$period = $path[1];
//$date = isset($path[2]) ? .'/'. $path[2] : '';
- $date = isset($view->args[0]) ? .'/'. $view->args[0] : '';
+ $date = isset($view->args[0]) ? '/'. $view->args[0] : '';
$argument = NULL;
$link = $period . $date;
break;
@@ -56,9 +56,9 @@ function calendario_widget($view = NULL) {
$type = $path[1];
$period = $path[3];
//$date = isset($path[4]) ? .'/'. $path[4] : '';
- $date = isset($view->args[1]) ? .'/'. $view->args[1] : '';
+ $date = isset($view->args[1]) ? '/'. $view->args[1] : '';
//$argument = $path[2];
- $argument = isset($view->args[0]) ? .'/'. $view->args[0] : '';
+ $argument = isset($view->args[0]) ? '/'. $view->args[0] : '';
$link = $type . $argument .'/'. $period . $date
break;
}