Skip to content

Commit b200f93

Browse files
committed
fixed mail alert function
1 parent 29c1bb5 commit b200f93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ function alert(){
102102
){
103103
throw new Exception('alert not configured');
104104
}
105-
foreach ($p->getServices() as $service){
106-
$body .= $p->printService($service);
105+
foreach ($this->getServices() as $service){
106+
$body .= $this->printService($service);
107107
}
108108
$result = mail(
109109
$this->config['alert']['to'],

0 commit comments

Comments
 (0)