[*] исправлен метод мемкэша и добавлена крайняя ошибка

This commit is contained in:
rsgrinko committed 2021-12-21 23:16:14 +03:00
1 parent 78deb5aecf
commit 4a11e29af5
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ class CCache
*/
public function __callStatic($method, $args)
{
self::$lastError = 'Unsupported method. Method: '.$method.', arguments: '.$args;
self::$lastError = 'Unsupported method. Method: '.$method.', arguments: '.implode(',', $args);
echo json_encode(['status' => 'fail', 'error' => 'Unsupported method', 'method' => $method, 'args' => $args], JSON_UNESCAPED_UNICODE);
}