* Finish task #56546.
This commit is contained in:
10
module/message/model.php
Normal file → Executable file
10
module/message/model.php
Normal file → Executable file
@@ -89,8 +89,14 @@ class messageModel extends model
|
||||
}
|
||||
}
|
||||
|
||||
$moduleName = $objectType == 'case' ? 'testcase' : $objectType;
|
||||
$this->loadModel('mail')->sendmail($objectID, $actionID);
|
||||
if($objectType == 'feedback')
|
||||
{
|
||||
$this->loadModel('feedback')->sendmail($objectID, $actionID);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->loadModel('mail')->sendmail($objectID, $actionID);
|
||||
}
|
||||
|
||||
if(defined('RUN_MODE') and RUN_MODE == 'api') $config->requestType = $requestType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user