Преглед на файлове

[Espace producteur] Correctif mentions légales / conditions générales de vente

feature/souke
Guillaume Bourgeois преди 1 година
родител
ревизия
f0c2b73e49
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      producer/controllers/SiteController.php

+ 2
- 2
producer/controllers/SiteController.php Целия файл

@@ -225,7 +225,7 @@ class SiteController extends ProducerBaseController
*/
public function actionMentions()
{
$producer = GlobalParam::getCurrentProducer();
$producer = $this->getProducerCurrent();

if (!strlen($producer->mentions)) {
throw new \yii\base\UserException('Mentions légales introuvables.');
@@ -241,7 +241,7 @@ class SiteController extends ProducerBaseController
*/
public function actionGcs()
{
$producer = GlobalParam::getCurrentProducer();
$producer = $this->getProducerCurrent();

if (!strlen($producer->gcs)) {
throw new \yii\base\UserException('Conditions générales de vente introuvables.');

Loading…
Отказ
Запис