This commit is contained in:
Matthias Pfefferle 2024-02-11 12:44:46 +01:00
parent 223270f2a7
commit 20adc4cc97

View file

@ -141,7 +141,7 @@ class Scheduler {
$type = 'Delete';
}
if ( ! $type ) {
if ( empty( $type ) ) {
return;
}
@ -178,6 +178,8 @@ class Scheduler {
return;
}
$type = false;
if (
'approved' === $new_status &&
'approved' !== $old_status