fix bigthumb error

This commit is contained in:
wlx 2013-11-10 10:52:13 +00:00
parent 2fa1e199bb
commit 10008f2245
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class ServiceController extends Zend_Controller_Action
} else { } else {
$where=$this->db->quoteInto('m.id = ?',$id); $where=$this->db->quoteInto('m.id = ?',$id);
} }
$sql="select g.id as gid,t.filename,t.filetype from en.geonetworkmetadata g left join en.metadata m on g.uuid=m.uuid left join thumbnail t on t.id=m.id where ".$where; $sql="select g.id as gid,t.filename,t.filetype from en.geonetworkmetadata g left join en.metadata m on g.uuid=m.uuid left join en.thumbnail t on t.id=m.id where ".$where;
$thumb=$this->db->fetchRow($sql); $thumb=$this->db->fetchRow($sql);
$this->_helper->layout->disableLayout(); $this->_helper->layout->disableLayout();
$this->_helper->viewRenderer->setNoRender(); $this->_helper->viewRenderer->setNoRender();