修复不能导入到英文版的问题

This commit is contained in:
wlx 2015-06-12 16:48:34 +08:00
parent 0740e8f4b9
commit e929af9d4a
1 changed files with 1 additions and 1 deletions

View File

@ -4113,7 +4113,7 @@ class AuthorController extends Zend_Controller_Action
{ {
$user = $auth->getIdentity(); $user = $auth->getIdentity();
$u_id = $user->id; $u_id = $user->id;
if (!empty($uuid) && !view::isUuid($uuid)) die(); if (!empty($uuid) && !Helpers\View::isUuid($uuid)) die();
$sql="select * from mdauthor where uuid=? and userid=? and status in (0,1)"; $sql="select * from mdauthor where uuid=? and userid=? and status in (0,1)";
$sth = $this->db->prepare($sql); $sth = $this->db->prepare($sql);
$sth->execute(array($uuid,$u_id)); $sth->execute(array($uuid,$u_id));