turnstile

Drupal paywall plugin
Log | Files | Refs | README | LICENSE

commit 1196fd18dc60aac0755f773d4214e8f60587d3b5
parent 115ae8678ff40af5e6f4f95463f9c0ee36a1fe2d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  3 May 2026 09:35:58 +0200

fix PHP warning

Diffstat:
Msrc/Form/PriceCategoryForm.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Form/PriceCategoryForm.php b/src/Form/PriceCategoryForm.php @@ -143,7 +143,7 @@ class PriceCategoryForm extends EntityForm { // Validate that the price is a valid non-negative number. if (!is_numeric($price) || $price < 0) { $form_state->setErrorByName( - "prices][${subscription_id}][${currency_code}", + "prices][{$subscription_id}][{$currency_code}", $this->t('Prices cannot be negative.') ); }