Skip to content

Commit

Permalink
Fix cs PIWOO-521
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Sep 12, 2024
1 parent f68b429 commit f6e113d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function getOrderIdOnPayForOrderPage()

protected function dateOfBirth($birthValue)
{
$birthValue = $birthValue?: '';
$birthValue = $birthValue ?: '';
?>
<p class="form-row form-row-wide" id="billing_birthdate_field">
<label for="<?php echo esc_attr(self::FIELD_BIRTHDATE); ?>" class=""><?php echo esc_html__('Birthdate', 'mollie-payments-for-woocommerce'); ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public function execute($gateway, $dataHelper)
$order = $this->getOrderIdOnPayForOrderPage();
$phoneValue = $order->get_billing_phone();
$birthValue = $order->get_meta('billing_birthdate');

}

if (is_checkout() && !is_checkout_pay_page() && !$isPhoneRequired) {
Expand Down Expand Up @@ -51,7 +50,7 @@ protected function getOrderIdOnPayForOrderPage()

protected function dateOfBirth($birthValue)
{
$birthValue = $birthValue?: '';
$birthValue = $birthValue ?: '';
?>
<p class="form-row form-row-wide" id="billing_birthdate_field">
<label for="<?php echo esc_attr(self::FIELD_BIRTHDATE); ?>" class=""><?php echo esc_html__('Birthdate', 'mollie-payments-for-woocommerce'); ?>
Expand Down

0 comments on commit f6e113d

Please sign in to comment.