Make customer name empty string by default instead of null
This commit is contained in:
parent
5838e2ab48
commit
f213f5cb66
|
@ -514,8 +514,8 @@ class WC_Admin_Reports_Customers_Data_Store extends WC_Admin_Reports_Data_Store
|
|||
* @return array
|
||||
*/
|
||||
public static function get_customer_name( $user_id = 0, $order = null ) {
|
||||
$first_name = null;
|
||||
$last_name = null;
|
||||
$first_name = '';
|
||||
$last_name = '';
|
||||
|
||||
if (
|
||||
$user_id &&
|
||||
|
|
Loading…
Reference in New Issue