纠正数据表错误

This commit is contained in:
wlx 2012-05-21 09:04:51 +00:00
parent aaba16dee6
commit 5f627eabe4
1 changed files with 1 additions and 1 deletions

View File

@ -2168,7 +2168,7 @@ class AuthorController extends Zend_Controller_Action
return true; return true;
} }
$sql="select uuid from metadata where id=? and owner=?"; $sql="select uuid from geonetworkmetadata where id=? and owner=?";
$sth=$this->wdb->prepare($sql); $sth=$this->wdb->prepare($sql);
$sth->execute(array($id,$u_id)); $sth->execute(array($id,$u_id));
$row=$sth->fetch(); $row=$sth->fetch();