fix bigthumb error
This commit is contained in:
parent
2fa1e199bb
commit
10008f2245
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue