Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
This commit is contained in:
commit
af3b0146a8
@ -41,7 +41,7 @@ function replace_macros($s, $r) {
|
|||||||
try {
|
try {
|
||||||
$output = $t->replace_macros($arr['template'], $arr['params']);
|
$output = $t->replace_macros($arr['template'], $arr['params']);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
logger("Unable to render template: ",$e->getMessage());
|
logger("Unable to render template: ".$e->getMessage());
|
||||||
$output = "<h3>ERROR: there was an error creating the output.</h3>";
|
$output = "<h3>ERROR: there was an error creating the output.</h3>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user