Fifo/ProcessValues.php
authorEdward <edward@roojs.com>
Tue, 11 Feb 2014 10:01:23 +0000 (18:01 +0800)
committerEdward <edward@roojs.com>
Tue, 11 Feb 2014 10:01:23 +0000 (18:01 +0800)
Fifo/ProcessValues.php

index 3701159..09f3b39 100644 (file)
@@ -47,6 +47,7 @@ class Pman_Xtuple_Fifo_ProcessValues extends  Pman_Xtuple_Fifo_ProcessBase
             $random_hash = md5(date('r', time()));
             
             $attachment = new stdClass();
+            $attachment->ext = 'text/plain';
             $attachment->file = chunk_split(base64_encode(file_get_contents($path)));
             $attachment->filename = 'ProcessValues - '.date('Y-m-d').'.txt';