summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/export.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/export.inc b/includes/export.inc
index d102deb..7529874 100644
--- a/includes/export.inc
+++ b/includes/export.inc
@@ -824,7 +824,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, $prefix);
}
else if (is_bool($var)) {
$output = $var ? 'TRUE' : 'FALSE';