Quellcode durchsuchen

[Site] Correctif nav_user_top

feature/souke
Guillaume Bourgeois vor 9 Monaten
Ursprung
Commit
d3013ca35c
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      common/views/nav_user_top.php

+ 2
- 2
common/views/nav_user_top.php Datei anzeigen

@@ -13,8 +13,8 @@ $userCurrent = GlobalParam::getCurrentUser();

$isUserCurrentGrantedAsProducer = $userModule->getAuthorizationChecker()->isGrantedAsProducer($userCurrent);
$producer = null;
if ($isUserCurrentGrantedAsProducer) {
$producer = $producerModule->getRepository()->findOneProducerById(\Yii::$app->user->identity->id_producer);
if ($isUserCurrentGrantedAsProducer && $userCurrent->id_producer) {
$producer = $producerModule->getRepository()->findOneProducerById($userCurrent->id_producer);
}

?>

Laden…
Abbrechen
Speichern