summaryrefslogtreecommitdiff
path: root/program/include/rcube_result_thread.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_result_thread.php')
-rw-r--r--program/include/rcube_result_thread.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcube_result_thread.php b/program/include/rcube_result_thread.php
index 214aec217..09fa46522 100644
--- a/program/include/rcube_result_thread.php
+++ b/program/include/rcube_result_thread.php
@@ -61,6 +61,8 @@ class rcube_result_thread
// ...skip unilateral untagged server responses
for ($i=0, $len=count($data); $i<$len; $i++) {
if (preg_match('/^ THREAD/i', $data[$i])) {
+ // valid response, initialize raw_data for is_error()
+ $this->raw_data = '';
$data[$i] = substr($data[$i], 7);
break;
}