Skip to content

Commit

Permalink
fix content-type emitted along with 'plaintext' results of sysinfo views
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Mar 13, 2019
1 parent ad7e749 commit 0fbf1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sysinfo/genericview.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
eZExecution::cleanExit();

case 'plaintext':
header( 'Content-Type: text_plain' );
header( 'Content-Type: text/plain' );
echo var_export( $response_data );
eZExecution::cleanExit();

Expand Down

0 comments on commit 0fbf1da

Please sign in to comment.