修正数据目录生成

This commit is contained in:
wlx 2015-02-01 13:15:16 +00:00
parent 303293b3ae
commit d004cf92c7
1 changed files with 1 additions and 1 deletions

View File

@ -791,7 +791,7 @@ class ServiceController extends Zend_Controller_Action
$odf=new Odf("../data/metadata-template-simplemd.odt",$config); $odf=new Odf("../data/metadata-template-simplemd.odt",$config);
$odf->setVars('title',$row['title'],true,'utf-8'); $odf->setVars('title',$row['title'],true,'utf-8');
@$odf->setVars('uuid',$row['uuid'],true,'utf-8'); @$odf->setVars('uuid',$row['uuid'],true,'utf-8');
$odf->setVars('datetime',date('Y-m-d',strtotime($row['ts_created']))); //$odf->setVars('datetime',date('Y-m-d',strtotime($row['ts_created'])));
$odf->setVars('abstract',$row['description'],true,'utf-8'); $odf->setVars('abstract',$row['description'],true,'utf-8');
@$odf->setVars('theme_keyword',$row['keyword']['theme'],true,'utf-8'); @$odf->setVars('theme_keyword',$row['keyword']['theme'],true,'utf-8');
@$odf->setVars('place_keyword',$row['keyword']['place'],true,'utf-8'); @$odf->setVars('place_keyword',$row['keyword']['place'],true,'utf-8');