Przeglądaj źródła

[Espace producteurs] Problème abonnements

prodstable
Guillaume Bourgeois 1 rok temu
rodzic
commit
416747e71e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      common/models/SubscriptionForm.php

+ 1
- 1
common/models/SubscriptionForm.php Wyświetl plik

@@ -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();

Ładowanie…
Anuluj
Zapisz