diff --git a/class/preisbot.class.php b/class/preisbot.class.php index 03adf1f..f8d5861 100755 --- a/class/preisbot.class.php +++ b/class/preisbot.class.php @@ -329,7 +329,7 @@ class PreisBot $body .= '

Diese E-Mail wurde automatisch vom PreisBot-Modul generiert.'; $body .= ''; - $from = getDolGlobalString('MAIN_MAIL_EMAIL_FROM', $conf->global->MAIN_INFO_SOCIETE_MAIL); + $from = getDolGlobalString('MAIN_MAIL_EMAIL_FROM', getDolGlobalString('MAIN_INFO_SOCIETE_MAIL', 'noreply@example.com')); $mail = new CMailFile( $subject,