* [task#154463,doing,0.5h] modify mail title.

This commit is contained in:
sunguangming
2025-12-18 07:56:53 +00:00
parent 1583a7a3f6
commit 3ca8b453cc
3 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -349,7 +349,9 @@ class webhookModel extends model
static $users = array();
if(empty($users)) $users = $this->loadModel('user')->getList();
$object = $this->dao->select('*')->from($this->config->objectTables[$objectType])->where('id')->eq($objectID)->fetch();
$object = $this->dao->select('*')->from($this->config->objectTables[$objectType])->where('id')->eq($objectID)->fetch();
if($objectType == 'auditplan') $object->title = $this->lang->auditplan->common . ' #' . $object->id;
$field = $this->config->action->objectNameFields[$objectType];
$host = empty($webhook->domain) ? common::getSysURL() : $webhook->domain;
$viewLink = $this->getViewLink($objectType == 'kanbancard' ? 'kanban' : $objectType, $objectType == 'kanbancard' ? $object->kanban : $objectID);