Fix phpunit
This commit is contained in:
parent
9e804495fd
commit
778e7364e6
1 changed files with 2 additions and 2 deletions
|
|
@ -1047,7 +1047,7 @@ class FormMail extends Form
|
|||
if ($this->withfckeditor) {
|
||||
$out .= $this->getModelEmailTemplate();
|
||||
}
|
||||
if (isModEnabled('ai')) {
|
||||
if ($this->withaiprompt && isModEnabled('ai')) {
|
||||
$out .= $this->getSectionForAIPrompt();
|
||||
}
|
||||
$out .= '</td>';
|
||||
|
|
@ -1438,7 +1438,7 @@ class FormMail extends Form
|
|||
*
|
||||
* @return string Text for instructions
|
||||
*/
|
||||
public function getSectionforAIPrompt()
|
||||
public function getSectionForAIPrompt()
|
||||
{
|
||||
global $langs;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue