From 23c42e6c31b13d828a84d95d83fb1f00dfd557fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Wed, 1 May 2024 17:34:58 +0200 Subject: [PATCH] Test meme filtering --- lib/endpoint.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/endpoint.php b/lib/endpoint.php index 81b9122..79ae4dc 100644 --- a/lib/endpoint.php +++ b/lib/endpoint.php @@ -51,6 +51,8 @@ function getEndpoint(string $endpoint_name): string $type = gettype($output_tmp); switch ($type) { case 'array': + $output = $output_tmp; + break; case 'string': $output = $output_tmp; $output['Status'] = 'Success';