修改数据删除时的bug
This commit is contained in:
parent
a2b4bfe397
commit
66c37925dd
|
@ -57,10 +57,10 @@ class Admin_DataController extends Zend_Controller_Action
|
||||||
|
|
||||||
if ($delete)
|
if ($delete)
|
||||||
{
|
{
|
||||||
$sql="delete from metadata where uuid=? and uuid in (select uuid from ".$this->view->config->sub->meatadata.")";
|
$sql="delete from metadata where uuid=? and uuid in (select uuid from ".$this->view->config->sub->metadata.")";
|
||||||
try {
|
try {
|
||||||
$this->db->query("delete from mdstatus where uuid=? and uuid in (select uuid from ".$this->view->config->sub->meatadata.")",array($delete));
|
$this->db->query("delete from mdstatus where uuid=? and uuid in (select uuid from ".$this->view->config->sub->metadata.")",array($delete));
|
||||||
$this->db->query("delete from mdauthor where uuid=? and uuid in (select uuid from ".$this->view->config->sub->meatadata.")",array($delete));
|
$this->db->query("delete from mdauthor where uuid=? and uuid in (select uuid from ".$this->view->config->sub->metadata.")",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