diff --git a/src/Module/Api/Friendica/Help/Test.php b/src/Module/Api/Friendica/Help/Test.php index c631e76378..0a68a444aa 100644 --- a/src/Module/Api/Friendica/Help/Test.php +++ b/src/Module/Api/Friendica/Help/Test.php @@ -30,12 +30,12 @@ class Test extends BaseApi { public static function rawContent(array $parameters = []) { - if (self::$format == 'xml') { - $ok = 'true'; - } else { - $ok = 'ok'; - } - + if (self::$format == 'xml') { + $ok = 'true'; + } else { + $ok = 'ok'; + } + echo self::format('ok', ['ok' => $ok]); exit; }