BUG 10103 PMFSendMessage with attachments SOLVED

- Not checked the chain to create a record.
- Was add verification.
This commit is contained in:
Marco Antonio Nina
2012-11-30 16:56:29 -04:00
parent 4bd22eeafe
commit ce533803ee

View File

@@ -138,6 +138,10 @@ class spoolRun
*/
public function create ($aData)
{
if (is_array($aData['app_msg_attach'])) {
$attachment = implode(",", $aData['app_msg_attach']);
$aData['app_msg_attach'] = $attachment;
}
$aData['app_msg_show_message'] = (isset($aData['app_msg_show_message'])) ? $aData['app_msg_show_message'] : 1;
$sUID = $this->db_insert( $aData );