From 638d8b09e33c4a64b2587808a9ff7a24ceec28f2 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Wed, 4 Aug 2021 15:17:17 +0800 Subject: [PATCH] fix bug --- platform/BaiduCFC.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/BaiduCFC.php b/platform/BaiduCFC.php index 63a61db..6fc4db2 100644 --- a/platform/BaiduCFC.php +++ b/platform/BaiduCFC.php @@ -363,7 +363,7 @@ function api_error_msg($response) { if (isset($response['code'])) $html = $response['code'] . '
' . $response['message']; - else $html = var_dump($response); + else $html = json_encode($response, JSON_PRETTY_PRINT); return $html . '

BRN: ' . $_SERVER['functionBrn'] . '
'; -- GitLab