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