* [refac bug #58102] Check data.

This commit is contained in:
wangyidong
2024-12-13 13:54:44 +08:00
committed by 曹延义
parent 3fcf386bf6
commit f413728678
+1
View File
@@ -113,6 +113,7 @@ class webhookModel extends model
$object = $this->dao->select('*')->from($this->config->objectTables[$action->objectType])->where('id')->eq($action->objectID)->fetch();
$field = zget($this->config->action->objectNameFields, $action->objectType, $action->objectType);
if(empty($data)) continue;
if(!is_object($object))
{
$object = new stdclass;