diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-05 03:31:25 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-05 03:31:25 +0000 |
commit | c47e9d7c094a087714bb8c0cb996c13f165d4fca (patch) | |
tree | c8367091f730e08d2ad418469bffc5eccfef0bfa /engine/lib/elgglib.php | |
parent | d1e9be283bb752900effceefcbe6c50091db3325 (diff) | |
download | elgg-c47e9d7c094a087714bb8c0cb996c13f165d4fca.tar.gz elgg-c47e9d7c094a087714bb8c0cb996c13f165d4fca.tar.bz2 |
Fixes #1486: elgg_log() can now log arrays and objects to error_log().
git-svn-id: http://code.elgg.org/elgg/trunk@3905 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 3 |
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)); } } |