Index: trunk/public_html/sites/all/modules/contrib/jcarousel/includes/jcarousel.views.inc
===================================================================
--- trunk/public_html/sites/all/modules/contrib/jcarousel/includes/jcarousel.views.inc	(revision 1530)
+++ trunk/public_html/sites/all/modules/contrib/jcarousel/includes/jcarousel.views.inc	(working copy)
@@ -100,19 +100,25 @@
       $options[$key] = is_numeric($option) ? (int) $option : $option;
     }
   }
-
+  
+  // Get the total number of items in this view.
+  $view->build($display_id);
+  $result = db_query($view->build_info['count_query'], $view->build_info['query_args']);
+  $count = 0;
+  while ($row = db_fetch_array($result)) {
+    $count++;
+  }
+  
+  //if there is just one item and wrap is circular, change it to both.
+  if($count == 1 && $options['wrap'] = 'circular'){
+    $options['wrap'] = 'both';
+  }
   if ($view->use_ajax) {
     $options['ajax'] = TRUE;
 
-    // Get the total number of items in this view.
     $use_pager = $view->pager['use_pager'];
     $view->pager['use_pager'] = TRUE;
-    $view->build($display_id);
-    $result = db_query($view->build_info['count_query'], $view->build_info['query_args']);
-    $count = 0;
-    while ($row = db_fetch_array($result)) {
-      $count++;
-    }
+
     $options['size'] = $count;
     $view->pager['use_pager'] = $use_pager;
 
