change field name

This commit is contained in:
wlx 2012-09-18 05:30:24 +00:00
parent ecd1c2ead1
commit dcad18d060
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class SubmitController extends Zend_Controller_Action
return true; return true;
} }
$sql="select uuid,xml from metadata where id=? and owner=?"; $sql="select uuid,data as xml from metadata 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();