From 57a53db86560e6591c06c535b888f791d273ae2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 26 Nov 2009 00:49:50 +0000 Subject: [PATCH] Things that 'should not happen' should end in debug_report_bug(), not logDebugMessage() :-) --- inc/libs/yoomedia_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/libs/yoomedia_functions.php b/inc/libs/yoomedia_functions.php index a0e9c5a70f..2b7a734b90 100644 --- a/inc/libs/yoomedia_functions.php +++ b/inc/libs/yoomedia_functions.php @@ -432,7 +432,7 @@ function YOOMEDIA_GET_ERRORCODE_FROM_RESULT ($response) { $code = str_replace("\n", '', $code); } else { // Should not happen! - logDebugMessage(__FUNCTION__, __LINE__, 'Cannot parse response. Raw response=' . base64_encode(serialize($response))); + debug_report_bug('Cannot parse response. Raw response:
' . print_r($response, true) . '
'); } // Return error code -- 2.39.2