Fix template conversion (#8976)

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
This commit is contained in:
Tony Murray
2018-08-03 14:56:22 -05:00
committed by Neil Lathwood
parent 19c2eadc3f
commit 5bc91addb2
2 changed files with 3 additions and 3 deletions

View File

@@ -391,7 +391,7 @@ function populate($txt, $wrap = true)
function RunJail($code, $obj)
{
$ret = '';
eval($code);
@eval($code);
return $ret;
}//end RunJail()
@@ -808,7 +808,7 @@ function ExtTransports($obj)
global $config;
$tmp = false;
$type = new Template;
// If alert transport mapping exists, override the default transports
$transport_maps = AlertUtil::getAlertTransports($obj['alert_id']);