From ac82bfaac8edb04778be44dba84bd9f49f9a3425 Mon Sep 17 00:00:00 2001 From: "shiyangyangwork@yahoo.cn" Date: Sun, 5 Feb 2012 09:21:31 +0000 Subject: [PATCH] * finish the task #716. --- 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 5bd9db209f..ed317c404c 100644 --- a/module/action/model.php +++ b/module/action/model.php @@ -389,7 +389,7 @@ class actionModel extends model $objectIds = array_unique($objectIds); $table = $this->config->action->objectTables[$objectType]; $field = $this->config->action->objectNameFields[$objectType]; - if($table != 'zt_todo') + if($table != '`zt_todo`') { $objectNames[$objectType] = $this->dao->select("id, $field AS name")->from($table)->where('id')->in($objectIds)->fetchPairs(); }