merge heihedata branch r3736.
This commit is contained in:
parent
8c41981a6b
commit
47eacc7c14
|
@ -229,12 +229,14 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
$role['distributor']=array();
|
||||
$role['publisher']=array();
|
||||
$role['author']=array();
|
||||
$single=array();
|
||||
$single=array();
|
||||
if ($rows)
|
||||
{
|
||||
foreach($rows as $row)
|
||||
{
|
||||
if ($tmp_title!=$row['title'])
|
||||
{
|
||||
if (count($role))
|
||||
if (count($role) && !empty($tmp_title))
|
||||
{
|
||||
$single['role']=$role;
|
||||
$md[]=$single;
|
||||
|
@ -353,7 +355,7 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
$mail->createAttachment($filecontent,'application/octet-stream',Zend_Mime::DISPOSITION_ATTACHMENT, Zend_Mime::ENCODING_BASE64, 'offlineapp.pdf');
|
||||
$mail->send();
|
||||
}
|
||||
|
||||
}
|
||||
//提示信息
|
||||
|
||||
$data = array(
|
||||
|
|
Loading…
Reference in New Issue