? views.unquoted_version_string.patch
Index: includes/view.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/view.inc,v
retrieving revision 1.151.2.33
diff -u -p -r1.151.2.33 view.inc
--- includes/view.inc	29 Apr 2010 18:39:31 -0000	1.151.2.33
+++ includes/view.inc	29 May 2010 09:37:23 -0000
@@ -1438,7 +1438,11 @@ class view extends views_db_object {
     $output = '';
     $output .= $this->export_row('view', $indent);
     // Set the API version
-    $output .= $indent . '$view->api_version = ' . views_api_version() . ";\n";
+    $version = views_api_version();
+    if (is_string($version)) {
+      $version = "'$version'";
+    }
+    $output .= $indent . '$view->api_version = ' . $version . ";\n";
     $output .= $indent . '$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */' . "\n";
 
     foreach ($this->display as $id => $display) {
