summaryrefslogtreecommitdiff
path: root/program/steps/utils
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-08 09:44:03 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-08 09:44:03 +0200
commit60a67f52ad0a23aef3d02e4e9abf28317e5b3144 (patch)
tree72352e58c23a581c0fe7b250b5ba0e1561cef896 /program/steps/utils
parentfd4436475cf7b8d38c3323672e6245ff89eed1d6 (diff)
Don't use $HTTP_RAW_POST_DATA deprecated in PHP 5.6
Diffstat (limited to 'program/steps/utils')
-rw-r--r--program/steps/utils/html2text.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/utils/html2text.inc b/program/steps/utils/html2text.inc
index c01443b22..58df34bd0 100644
--- a/program/steps/utils/html2text.inc
+++ b/program/steps/utils/html2text.inc
@@ -19,7 +19,7 @@
+-----------------------------------------------------------------------+
*/
-$html = $HTTP_RAW_POST_DATA;
+$html = stream_get_contents(fopen('php://input', 'r'));
// Replace emoticon images with its text representation
$html = $RCMAIL->replace_emoticons($html);