diff options
-rw-r--r-- | includes/utility.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/utility.inc b/includes/utility.inc index d195bff74..5019852c7 100644 --- a/includes/utility.inc +++ b/includes/utility.inc @@ -51,7 +51,7 @@ function drupal_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) ' . drupal_var_export((array) $var, $prefix); + $output = '(object) ' . drupal_var_export((array) $var, $prefix); } else { $output = var_export($var, TRUE); |