From 2b8a8b54b160d12455e28bdae758dfe2c88d1e36 Mon Sep 17 00:00:00 2001 From: Dries Date: Sat, 10 Mar 2012 08:10:04 -0500 Subject: - Patch #1476776 by droplet: drupal_var_export() is a concatination to undefined variable . --- includes/utility.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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); -- cgit v1.2.3