From 10008f2245c508c604ad9a08d944c80c89422e68 Mon Sep 17 00:00:00 2001 From: wlx Date: Sun, 10 Nov 2013 10:52:13 +0000 Subject: [PATCH] fix bigthumb error --- application/default/controllers/ServiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/ServiceController.php b/application/default/controllers/ServiceController.php index a30682fa..769c0738 100644 --- a/application/default/controllers/ServiceController.php +++ b/application/default/controllers/ServiceController.php @@ -76,7 +76,7 @@ class ServiceController extends Zend_Controller_Action } else { $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); $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender();