* 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;
|
if($objectType == 'feedback')
|
||||||
$this->loadModel('mail')->sendmail($objectID, $actionID);
|
{
|
||||||
|
$this->loadModel('feedback')->sendmail($objectID, $actionID);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadModel('mail')->sendmail($objectID, $actionID);
|
||||||
|
}
|
||||||
|
|
||||||
if(defined('RUN_MODE') and RUN_MODE == 'api') $config->requestType = $requestType;
|
if(defined('RUN_MODE') and RUN_MODE == 'api') $config->requestType = $requestType;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user