mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
make sure return value is string
This commit is contained in:
parent
0e45cc5cb6
commit
70d866d53e
1 changed files with 1 additions and 1 deletions
|
@ -811,6 +811,6 @@ class SmartButton implements SmartButtonInterface {
|
|||
if ( is_bool( $value ) ) {
|
||||
$value = $value ? 'true' : 'false';
|
||||
}
|
||||
return $value;
|
||||
return (string) $value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue