增加了评审意见不存在的判断
This commit is contained in:
parent
2d866ccdb2
commit
0fc6a846f1
|
@ -920,6 +920,12 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
|
||||
$row = $rs->fetch();
|
||||
|
||||
if(empty($row['id']))
|
||||
{
|
||||
$this->messenger->addMessage('该评审不存在或者已删除');
|
||||
$this->_redirect($redirect);
|
||||
}
|
||||
|
||||
$sql = "select att.realname,att.id from attachments att
|
||||
left join mdreviewattach ratt on att.id=ratt.attachid
|
||||
where ratt.reviewid=$id";
|
||||
|
|
Loading…
Reference in New Issue