diff --git a/application/default/controllers/AuthorController.php b/application/default/controllers/AuthorController.php index e479bed9..f9b5763c 100644 --- a/application/default/controllers/AuthorController.php +++ b/application/default/controllers/AuthorController.php @@ -1587,7 +1587,7 @@ class AuthorController extends Zend_Controller_Action $uuid = $this->_request->getParam('uuid'); if(preg_match("/^[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12}$/",$uuid)) { - $sql = "SELECT u.realname,u.unit,u.email,m.title,m.description FROM normalmetadata m + $sql = "SELECT u.realname,u.unit,u.email,m.title,m.uuid FROM normalmetadata m LEFT JOIN mdauthor a ON m.uuid=a.uuid LEFT JOIN users u ON u.id=a.userid WHERE status>=0 AND m.uuid=? AND a.status=1 diff --git a/application/default/views/scripts/author/sendmail.phtml b/application/default/views/scripts/author/sendmail.phtml index 495dfe15..f09220fc 100644 --- a/application/default/views/scripts/author/sendmail.phtml +++ b/application/default/views/scripts/author/sendmail.phtml @@ -12,16 +12,11 @@ $this->breadcrumb('我的数据'); $this->breadcrumb('邮件通知'); $this->breadcrumb()->setSeparator(' > '); ?> - -