Bläddra i källkod

Merge branch 'develop'

master
Guillaume Bourgeois 1 år sedan
förälder
incheckning
b4dcf93c71
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      producer/controllers/SiteController.php

+ 2
- 2
producer/controllers/SiteController.php Visa fil

@@ -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.');

Laddar…
Avbryt
Spara