diff options
Diffstat (limited to 'editwhines.cgi')
-rwxr-xr-x | editwhines.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editwhines.cgi b/editwhines.cgi index 6597db893..d545845b1 100755 --- a/editwhines.cgi +++ b/editwhines.cgi @@ -125,8 +125,8 @@ if ($cgi->param('update')) { } else { # check the subject, body and mailifnobugs for changes - my $subject = ($cgi->param("event_${eventid}_subject") or ''); - my $body = ($cgi->param("event_${eventid}_body") or ''); + my $subject = $cgi->param("event_${eventid}_subject") // ''; + my $body = $cgi->param("event_${eventid}_body") // ''; my $mailifnobugs = $cgi->param("event_${eventid}_mailifnobugs") ? 1 : 0; trick_taint($subject) if $subject; |