aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 76f8430b7..c14565e5e 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -1934,8 +1934,7 @@ function elgg_dump($value, $to_screen = TRUE, $level = 'NOTICE') {
}
else
{
- // this currently chokes on arrays and objects
- error_log($value);
+ error_log(var_export($value));
}
}