Skip to content

Commit

Permalink
Revert "Fixed PHP notice on other admin pages. (#1)" (#2)
Browse files Browse the repository at this point in the history
This reverts commit 6d06869.

Upstream PR remains: woocommerce#72
  • Loading branch information
sun authored Jul 26, 2021
1 parent 6d06869 commit 0f8b7db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions includes/class-wc-amazon-payments-advanced-order-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ public function meta_box() {
public function authorization_box() {
global $post, $wpdb, $theorder;

if ( empty( $post->ID ) ) {
return;
}
$actions = array();
$order_id = absint( $post->ID );

Expand Down

0 comments on commit 0f8b7db

Please sign in to comment.