Skip to content

Commit

Permalink
Update events_ajax.php
Browse files Browse the repository at this point in the history
$sendPlainText was always true
  • Loading branch information
bbannon authored Apr 24, 2024
1 parent 1e99299 commit 1f6308d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions events_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@
$user = $login;
$get_unapproved = true;

$sendPlainText = false;
$format = getValue ( 'format' );
if ( ! empty ( $format ) &&

$sendPlainText = ( ! empty ( $format ) &&
( $format == 'text' || $format == 'plain' ) );
$sendPlainText = true;

$startdate = getIntValue ( 'startdate' );
if ( empty ( $startdate ) )
Expand Down

0 comments on commit 1f6308d

Please sign in to comment.