diff options
author | Ian Moore <ian.moore@fireeye.com> | 2015-07-30 19:19:18 -0400 |
---|---|---|
committer | Ian Moore <ian.moore@fireeye.com> | 2015-07-30 19:19:18 -0400 |
commit | 1a1b09b6824ef72e656a3893f800adb4ffeba0e9 (patch) | |
tree | 50135be45ddb61b681adb5fd76c01fadf101cea2 /endpoints/api.php | |
parent | 921c8175e61b8bbb8a14ce58c8dd8cd4c6810d6d (diff) | |
download | phpvirtualbox-1a1b09b6824ef72e656a3893f800adb4ffeba0e9.zip phpvirtualbox-1a1b09b6824ef72e656a3893f800adb4ffeba0e9.tar.gz phpvirtualbox-1a1b09b6824ef72e656a3893f800adb4ffeba0e9.tar.bz2 |
Fix header() in api.php
Minor cleanup
Diffstat (limited to 'endpoints/api.php')
-rw-r--r-- | endpoints/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/endpoints/api.php b/endpoints/api.php index 4d467ff..e617625 100644 --- a/endpoints/api.php +++ b/endpoints/api.php @@ -381,7 +381,7 @@ if($vbox && $vbox->errors) { if(isset($request['printr'])) {
print_r($response);
} else {
- header('Content-type', 'application/json');
+ header('Content-type: application/json');
echo(json_encode($response));
}
|