Fix EPATH substitution

pull/3718/head
Isaac Connor 2023-05-30 12:01:14 -04:00
parent 88d0056b57
commit 2f827a5178
1 changed files with 2 additions and 1 deletions

View File

@ -717,7 +717,8 @@ sub substituteTags {
$text =~ s/%EP%/$url?view=event&mid=$Event->{MonitorId}&eid=$Event->{Id}/g;
$text =~ s/%EPS%/$url?view=event&mode=stream&mid=$Event->{MonitorId}&eid=$Event->{Id}/g;
$text =~ s/%EPI%/$url?view=event&mode=still&mid=$Event->{MonitorId}&eid=$Event->{Id}/g;
$text =~ s/%EPATH%/$Event->Path()/g;
my $path = $Event->Path();
$text =~ s/%EPATH%/$path/g;
$text =~ s/%EI%/$Event->{Id}/g;
$text =~ s/%EID%/$Event->{Id}/g;
$text =~ s/%EN%/$Event->{Name}/g;