修改了mdversion创建新记录时调用的时间

This commit is contained in:
Li Jianxuan 2012-06-11 09:54:51 +00:00
parent 348912eb78
commit c8cfe4ec82
1 changed files with 1 additions and 1 deletions

View File

@ -3079,7 +3079,7 @@ class AuthorController extends Zend_Controller_Action
select x.data,m.ts_created,?,?,? from metadata m left join xml x on m.id=x.id select x.data,m.ts_created,?,?,? from metadata m left join xml x on m.id=x.id
left join mdversion v on m.uuid=v.uuid left join mdversion v on m.uuid=v.uuid
where m.uuid=? and v.changelog is null where m.uuid=? and v.changelog is null
order by v.ts_created ASC LIMIT 1"; order by v.ts_created DESC LIMIT 1";
$sth=$this->db->prepare($sql); $sth=$this->db->prepare($sql);
try try
{ {