From 60a67f52ad0a23aef3d02e4e9abf28317e5b3144 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 8 May 2014 09:44:03 +0200 Subject: Don't use $HTTP_RAW_POST_DATA deprecated in PHP 5.6 --- program/steps/utils/html2text.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps') 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); -- cgit v1.2.3