get_order_report_data should return string
This commit is contained in:
parent
1de3b8a034
commit
ac14427c32
|
@ -59,7 +59,7 @@ class WC_Admin_Report {
|
|||
extract( $args );
|
||||
|
||||
if ( empty( $data ) ) {
|
||||
return false;
|
||||
return '';
|
||||
}
|
||||
|
||||
$query = array();
|
||||
|
|
Loading…
Reference in New Issue