* finish the task #716.

This commit is contained in:
shiyangyangwork@yahoo.cn
2012-02-05 09:21:31 +00:00
parent a9fdf61225
commit ac82bfaac8
+1 -1
View File
@@ -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();
}