mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Static Analysis
This commit is contained in:
parent
006e819f3a
commit
dfdfc41fee
@ -306,9 +306,6 @@ class TemplateService
|
||||
} catch(SyntaxError $e) {
|
||||
nlog($e->getMessage());
|
||||
throw ($e);
|
||||
} catch(Error $e) {
|
||||
nlog("error = " . $e->getMessage());
|
||||
throw ($e);
|
||||
} catch(RuntimeError $e) {
|
||||
nlog("runtime = " . $e->getMessage());
|
||||
throw ($e);
|
||||
@ -318,8 +315,11 @@ class TemplateService
|
||||
} catch(SecurityError $e) {
|
||||
nlog("security = " . $e->getMessage());
|
||||
throw ($e);
|
||||
} catch(Error $e) {
|
||||
nlog("error = " . $e->getMessage());
|
||||
throw ($e);
|
||||
}
|
||||
|
||||
|
||||
$template = $template->render($this->data);
|
||||
|
||||
$f = $this->document->createDocumentFragment();
|
||||
|
Loading…
Reference in New Issue
Block a user