diff --git a/viewscarousel.module b/viewscarousel.module index e773875..a4f3fae 100644 --- a/viewscarousel.module +++ b/viewscarousel.module @@ -57,7 +57,9 @@ function viewscarousel_get_options(&$vars) { } // Bug fix. 1 is default. If you manually set 1 an empty row is added to left side. - if ($options['start'] == 1) unset($options['start']); + if (isset($options['start']) && $options['start'] == 1) { + unset($options['start']); + } return $options; } @@ -84,4 +86,4 @@ function viewscarousel_get_class($vars) { return; break; } -} \ No newline at end of file +}