Skip to content

Commit 84736ae

Browse files
committed
fix(Tests): unset current_alert_id as it's not in table column anymore
1 parent a9cdfb5 commit 84736ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/services/class-test-service.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ public function delete_remote_test( $test_id ) {
382382
$args['status'] = 0;
383383
$args['service_test_id'] = null;
384384
unset( $args['id'] );
385+
unset( $args['current_alert_id'] );
385386
Test::save( $args, $test->id );
386387
return $test;
387388
} else {

0 commit comments

Comments
 (0)