PHP 5.3 fix

This commit is contained in:
Mark McEver 2022-12-12 13:54:14 -06:00
parent f7c58ddbc4
commit d2d1ddfb63

View File

@ -41,10 +41,10 @@ if (isset($_GET['get-body']) && is_numeric($_GET['get-body'])) {
$body = $structure->parts[0]->body; $body = $structure->parts[0]->body;
} }
exit(json_encode([ exit(json_encode(array(
'raw' => htmlentities($message['raw']), 'raw' => htmlentities($message['raw']),
'body' => $body, 'body' => $body,
])); )));
} }
if (isset($_GET['delete']) && is_numeric($_GET['delete'])) { if (isset($_GET['delete']) && is_numeric($_GET['delete'])) {