From 3b26e75356303e83f68c97832abd7f48bab76705 Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 9 Feb 2017 18:31:19 +0800 Subject: [PATCH] Fix unkown function safe_json_encode --- lhc_web/lib/core/lhchat/lhchat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lhc_web/lib/core/lhchat/lhchat.php b/lhc_web/lib/core/lhchat/lhchat.php index c77624eacf..7a1ea4f8c3 100644 --- a/lhc_web/lib/core/lhchat/lhchat.php +++ b/lhc_web/lib/core/lhchat/lhchat.php @@ -1695,7 +1695,7 @@ public static function safe_json_encode($value) { return 'Syntax error, malformed JSON'; // or trigger_error() or throw new Exception() case JSON_ERROR_UTF8: $clean = self::utf8ize($value); - return safe_json_encode($clean); + return self::safe_json_encode($clean); default: return 'Unknown error'; // or trigger_error() or throw new Exception()