diff --git a/sites/all/modules/contrib/ctools/includes/export.inc b/sites/all/modules/contrib/ctools/includes/export.inc
index 694e48db5bbba082504e5bf03c79f7b31b18c487..74e16cef4a808d23236ad8bd3aac51724648a66c 100755
--- a/sites/all/modules/contrib/ctools/includes/export.inc
+++ b/sites/all/modules/contrib/ctools/includes/export.inc
@@ -655,7 +655,7 @@ function ctools_var_export($var, $prefix = '') {
     // magic method __set_state() leaving the export broken. This
     // workaround avoids this by casting the object as an array for
     // export and casting it back to an object when evaluated.
-    $output .= '(object) ' . ctools_var_export((array) $var);
+    $output = '(object) ' . ctools_var_export((array) $var);
   }
   else if (is_bool($var)) {
     $output = $var ? 'TRUE' : 'FALSE';
