From 4d95a6e775f8ba7f5125a081179f3b7403b2268b Mon Sep 17 00:00:00 2001 From: Radoslav Terezka Date: Thu, 1 Feb 2018 07:49:13 +0100 Subject: [PATCH] fixing incorrectly encoding exception_trace --- logs_http.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs_http.module b/logs_http.module index 294a1b4..99fbf0d 100644 --- a/logs_http.module +++ b/logs_http.module @@ -57,7 +57,7 @@ function _logs_http_decode_exception($exception) { // We have to serialize and encode the array here to prevent a notice in // theme_dblog_message(). We will decode the string back in // logs_http_watchdog() - $return['exception_trace'] = Crypt::hashBase64(serialize($exception->getTrace())); + $return['exception_trace'] = base64_encode(serialize($exception->getTrace())); return $return; }