summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--calendario.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendario.module b/calendario.module
index ba36a10..844e58d 100644
--- a/calendario.module
+++ b/calendario.module
@@ -31,7 +31,7 @@ function calendario_widget($view = NULL) {
$display = $view->current_display;
$path = explode('/', $view->display[$display]->handler->options['path']);
- if (!isset($path[1])) {
+ if (isset($path[1])) {
switch ($path[1]) {
case 'dia':
case 'semana':