change limitation
This commit is contained in:
parent
33d84305fc
commit
3130e6f665
|
@ -128,7 +128,7 @@ class SubmitController extends Zend_Controller_Action
|
||||||
$sql="select gn.id from geonetworkmetadata gn
|
$sql="select gn.id from geonetworkmetadata gn
|
||||||
left join mdstatus s on gn.uuid=s.uuid
|
left join mdstatus s on gn.uuid=s.uuid
|
||||||
left join mdauthor a on s.uuid=a.uuid
|
left join mdauthor a on s.uuid=a.uuid
|
||||||
where s.id is not null and a.id is not null and gn.id=?";
|
where (s.id is not null or a.id is not null) and gn.id=?";
|
||||||
$sth=$this->db->prepare($sql);
|
$sth=$this->db->prepare($sql);
|
||||||
$sth->execute(array($id));
|
$sth->execute(array($id));
|
||||||
$row=$sth->fetch();
|
$row=$sth->fetch();
|
||||||
|
|
Loading…
Reference in New Issue