Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
only check for empty guapi value
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Aug 18, 2022
1 parent cafa7ed commit 70c0c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function collect() {
if ( ! $bh_cdata ) {
$guapi = self::get_account_info();
$mole = self::get_onboarding_info();
if ( empty( $guapi ) || empty( $mole ) ) {
if ( empty( $guapi ) ) {
return false;
}
$bh_cdata = array_merge( $guapi, array( 'meta' => $mole ) );
Expand Down

0 comments on commit 70c0c29

Please sign in to comment.