From 865184fc0435285def19e61527edc1895b199b24 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 15 Dec 2016 08:26:28 +0800 Subject: [PATCH] * fix bug for error table. --- module/action/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index 0c8f7d41c7..0f3696df08 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -819,7 +819,7 @@ class actionModel extends model /* Revert doclib when undelet product or project. */ if($action->objectType == 'project' or $action->objectType == 'product') { - $this->dao->update(TABLE_DOCLIT)->set('deleted')->eq(0)->where($action->objectType)->eq($action->objectID)->exec(); + $this->dao->update(TABLE_DOCLIB)->set('deleted')->eq(0)->where($action->objectType)->eq($action->objectID)->exec(); } /* Update action record in action table. */