fix could not delete metadata problem
This commit is contained in:
parent
0743137fea
commit
56680eff56
|
@ -310,7 +310,7 @@ class Admin_DataController extends Zend_Controller_Action
|
||||||
$sql="delete from en.metadata where uuid=?";
|
$sql="delete from en.metadata where uuid=?";
|
||||||
try {
|
try {
|
||||||
$this->db->query("delete from en.mdstatus where uuid=?",array($delete));
|
$this->db->query("delete from en.mdstatus where uuid=?",array($delete));
|
||||||
$this->db->query("delete from en.mdauthor where uuid=?",array($delete));
|
//$this->db->query("delete from en.mdauthor where uuid=?",array($delete));
|
||||||
$this->db->query($sql,array($delete));
|
$this->db->query($sql,array($delete));
|
||||||
$this->messenger->addMessage('提示信息:您已经成功删除该数据。');
|
$this->messenger->addMessage('提示信息:您已经成功删除该数据。');
|
||||||
$search=new Search();
|
$search=new Search();
|
||||||
|
|
Loading…
Reference in New Issue