Skip to content
Snippets Groups Projects
Commit 7e64f775 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

ci webGui - fix email in messenger

parent af16ebe3
Branches
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ class messenger {
public function sendMessage($sMessage) {
// echo '<pre>'.print_r($this->_aCfg, 1).'</pre>'.$sMessage.'<br>';
if (array_key_exists('email', $this->_aCfg) && array_key_exists('email', $this->_aCfg['to'])
if (array_key_exists('email', $this->_aCfg) && array_key_exists('to', $this->_aCfg['email'])
) {
preg_match('/^(.*)\n/', $sMessage, $aTmp);
$sSubject = $aTmp[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment