[2.5] Don't show purchase note to admin

This commit is contained in:
Mike Jolley 2016-01-27 15:30:07 +00:00
parent 2a6ea6e137
commit 657521ffa4
1 changed files with 1 additions and 1 deletions

View File

@ -1963,7 +1963,7 @@ abstract class WC_Abstract_Order {
'items' => $this->get_items(),
'show_download_links' => $this->is_download_permitted() && ! $args['sent_to_admin'],
'show_sku' => $args['show_sku'],
'show_purchase_note' => $this->is_paid(),
'show_purchase_note' => $this->is_paid() && ! $args['sent_to_admin'],
'show_image' => $args['show_image'],
'image_size' => $args['image_size'],
'sent_to_admin' => $args['sent_to_admin']