summaryrefslogtreecommitdiff
path: root/includes/utility.inc
diff options
context:
space:
mode:
authorDries <dries@buytaert.net>2012-03-10 08:10:04 -0500
committerDries <dries@buytaert.net>2012-03-10 08:10:04 -0500
commit2b8a8b54b160d12455e28bdae758dfe2c88d1e36 (patch)
tree57f0e5d9d876d112b32c556c3812051bcd912a2f /includes/utility.inc
parent31a97a0a75f18353e1ce3a8fbe55aae4cfdf0fa7 (diff)
downloadbrdo-2b8a8b54b160d12455e28bdae758dfe2c88d1e36.tar.gz
brdo-2b8a8b54b160d12455e28bdae758dfe2c88d1e36.tar.bz2
- Patch #1476776 by droplet: drupal_var_export() is a concatination to undefined variable .
Diffstat (limited to 'includes/utility.inc')
-rw-r--r--includes/utility.inc2
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);