有数据作者才发信
This commit is contained in:
parent
cd8fe1ca87
commit
5de71572bb
|
@ -761,7 +761,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
||||||
if (is_numeric($ids))
|
if (is_numeric($ids))
|
||||||
{
|
{
|
||||||
$sql="select distinct u.email,m.title,m.uuid from mdstatus s left join metadata m on s.uuid=m.uuid
|
$sql="select distinct u.email,m.title,m.uuid from mdstatus s left join metadata m on s.uuid=m.uuid
|
||||||
left join mdauthor a on s.uuid=a.uuid left join users u on a.userid=u.id where s.id=? order by u.email";
|
right join mdauthor a on s.uuid=a.uuid left join users u on a.userid=u.id where s.id=? order by u.email";
|
||||||
$rs=$this->db->query($sql,array($ids));
|
$rs=$this->db->query($sql,array($ids));
|
||||||
$rows=$rs->fetchAll();
|
$rows=$rs->fetchAll();
|
||||||
if ($rows)
|
if ($rows)
|
||||||
|
|
Loading…
Reference in New Issue