* [bug#58015,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2024-12-19 13:59:54 +08:00
committed by 田淑杰
parent e43ff0d96e
commit f6c9caec91
+6 -1
View File
@@ -91,7 +91,7 @@ class webhookModel extends model
->andWhere('objectID')->eq($id)
->orderBy($orderBy)
->page($pager)
->fetchAll('id');
->fetchAll('id', false);
$actions = array();
foreach($logs as $log) $actions[] = $log->action;
@@ -435,6 +435,11 @@ class webhookModel extends model
unset($_GET['onlybody']);
}
if($objectType == 'case') $objectType = 'testcase';
if($objectType == 'kanbancard')
{
$objectType = 'kanban';
$objectID = $this->dao->select('kanban')->from(TABLE_KANBANCARD)->where('id')->eq($objectID)->fetch('kanban');
}
if($objectType == 'meeting')
{
$meeting = $this->dao->findById($objectID)->from(TABLE_MEETING)->fetch();