diff --git a/src/AdminPaymentFormPostType.php b/src/AdminPaymentFormPostType.php index f62d825..6005bd6 100644 --- a/src/AdminPaymentFormPostType.php +++ b/src/AdminPaymentFormPostType.php @@ -191,7 +191,7 @@ public function insert_post_data( $data, $postarr ) { } // If this is an autosave, our form has not been submitted, so we don't want to do anything. - if ( \defined( '\DOING_AUTOSAVE' ) && \DOING_AUTOSAVE ) { + if ( \defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { return $data; }