From 12882e6086efc32d125ebdec4ef4a76586487125 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Mon, 27 Jan 2014 16:31:12 -0600
Subject: [PATCH] pipe: Use empty message token '--' if no message

Previously, the subject was duplicated, which is really confusing
---
 include/class.api.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.api.php b/include/class.api.php
index 0612fce72..b3e4ea7b3 100644
--- a/include/class.api.php
+++ b/include/class.api.php
@@ -433,7 +433,7 @@ class ApiEmailDataParser extends EmailDataParser {
         $data['source'] = 'Email';
 
         if(!$data['message'])
-            $data['message'] = $data['subject']?$data['subject']:'-';
+            $data['message'] = '--';
 
         if(!$data['subject'])
             $data['subject'] = '[No Subject]';
-- 
GitLab