From 60a67f52ad0a23aef3d02e4e9abf28317e5b3144 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 08 May 2014 03:44:03 -0400
Subject: [PATCH] Don't use $HTTP_RAW_POST_DATA deprecated in PHP 5.6

---
 program/steps/utils/html2text.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/utils/html2text.inc b/program/steps/utils/html2text.inc
index c01443b..58df34b 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);

--
Gitblit v1.9.1