mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
minor check-errors grammar patch ;)
git-svn-id: http://www.observium.org/svn/observer/trunk@799 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -29,7 +29,7 @@ if($errored) { ## If there are errored interfaces
|
||||
$i++;
|
||||
}
|
||||
## Send the alert email
|
||||
mail($config['email_default'], "Observer detected errors on $i interfaces", $msg, $config['email_headers']);
|
||||
mail($config['email_default'], "Observer detected errors on $i interface" . ($i != 1 ? 's' : ''), $msg, $config['email_headers']);
|
||||
echo($msg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user