summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-09-10 15:14:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-09-10 15:14:02 -0300
commite719f95bf7abe668471715aa71118395c28f3423 (patch)
tree3dbb7b3005f7981beb6b23ce7e523d10351125d5
parent7fcdb551422b985c1013f371ca0a725db14f0287 (diff)
downloadcalendario-e719f95bf7abe668471715aa71118395c28f3423.tar.gz
calendario-e719f95bf7abe668471715aa71118395c28f3423.tar.bz2
Oops
-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':