mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Check for string instead of boolean
This commit is contained in:
parent
2571d31ad8
commit
c8e1b3cd7f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class BillingAgreementsEndpoint {
|
|||
*/
|
||||
public function reference_transaction_enabled(): bool {
|
||||
try {
|
||||
if ( get_transient( 'ppcp_reference_transaction_enabled' ) === true ) {
|
||||
if ( get_transient( 'ppcp_reference_transaction_enabled' ) === '1' ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue