aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index c14565e5e..e6da00969 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -1931,10 +1931,8 @@ function elgg_dump($value, $to_screen = TRUE, $level = 'NOTICE') {
echo '<pre>';
print_r($value);
echo '</pre>';
- }
- else
- {
- error_log(var_export($value));
+ } else {
+ error_log(print_r($value, TRUE));
}
}