From 9647a48fb603cb0e8b7fa1e8e14952c4f05e9b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Sat, 14 Jun 2014 18:56:59 +0200 Subject: [PATCH] fixed param string --- application/core/ErrorHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/ErrorHandler.php b/application/core/ErrorHandler.php index 4df789d8..3c841f6d 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -254,9 +254,9 @@ class ErrorHandler { $type = gettype($arg); $string .= $type . '('; if (is_string($arg)) { - print_r(substr($arg, 0, 20), true); + $string .= print_r(substr($arg, 0, 20), true); } else { - print_r($arg, true); + $string .= print_r($arg, true); } $string .= ')'; }