mirror of
https://github.com/cytopia/devilbox.git
synced 2025-06-03 08:01:00 +00:00
PHP 5.3 fix
This commit is contained in:
parent
f7c58ddbc4
commit
d2d1ddfb63
@ -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'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user