diff --git a/include/misc.php b/include/misc.php index fcf9702ec..7f6aad38d 100644 --- a/include/misc.php +++ b/include/misc.php @@ -33,8 +33,8 @@ use Symfony\Component\Uid\Uuid; function replace_macros($template, $map) { $arr = [ - 'template' => $s, - 'params' => $r + 'template' => $template, + 'params' => $map, ]; /**