Skip to content

Commit 0f8b7db

Browse files
authored
Revert "Fixed PHP notice on other admin pages. (#1)" (#2)
This reverts commit 6d06869. Upstream PR remains: woocommerce#72
1 parent 6d06869 commit 0f8b7db

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

includes/class-wc-amazon-payments-advanced-order-admin.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ public function meta_box() {
167167
public function authorization_box() {
168168
global $post, $wpdb, $theorder;
169169

170-
if ( empty( $post->ID ) ) {
171-
return;
172-
}
173170
$actions = array();
174171
$order_id = absint( $post->ID );
175172

0 commit comments

Comments
 (0)