Sfoglia il codice sorgente

[Espace producteurs] Problème abonnements

prodstable
Guillaume Bourgeois 1 anno fa
parent
commit
416747e71e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      common/models/SubscriptionForm.php

+ 1
- 1
common/models/SubscriptionForm.php Vedi File

@@ -149,7 +149,7 @@ class SubscriptionForm extends Model
$subscription->saturday = $this->saturday;
$subscription->sunday = $this->sunday;
$subscription->week_frequency = $this->week_frequency;
$subscription->auto_payment = $this->auto_payment;
$subscription->auto_payment = (int) $this->auto_payment;
$subscription->comment = $this->comment;

$subscription->save();

Loading…
Annulla
Salva