merge heihedata branch r3736.

This commit is contained in:
wlx 2013-06-20 07:33:20 +00:00
parent 8c41981a6b
commit 47eacc7c14
1 changed files with 5 additions and 3 deletions

View File

@ -230,11 +230,13 @@ class Admin_DownController extends Zend_Controller_Action
$role['publisher']=array();
$role['author']=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(