summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-08-08 19:39:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-08-08 19:39:21 -0300
commit3a073280c74443ef74127b86b18d5701eafa13af (patch)
treee05ffa9eb93ee2af2ba62a580e3613d726e6d889
parent50974d181bc2788fe87132874b4e6e22206777b0 (diff)
downloadcalendario-3a073280c74443ef74127b86b18d5701eafa13af.tar.gz
calendario-3a073280c74443ef74127b86b18d5701eafa13af.tar.bz2
Oops
-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;
}