From dcad18d0606ef18c17fdf2687d218d31f8e6b210 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 18 Sep 2012 05:30:24 +0000 Subject: [PATCH] change field name --- application/default/controllers/SubmitController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/SubmitController.php b/application/default/controllers/SubmitController.php index 6c057777..03d265a3 100644 --- a/application/default/controllers/SubmitController.php +++ b/application/default/controllers/SubmitController.php @@ -139,7 +139,7 @@ class SubmitController extends Zend_Controller_Action 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->execute(array($id,$u_id)); $row=$sth->fetch();