diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 527a6ca4b..fffc26021 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -346,9 +346,11 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo " \n"; echo " \n"; } - if($this->params['user']->isAdmin()) { - $showdivider = true; - echo "
  • ".getMLText("substitute_user")."
  • \n"; + if(!$this->params['session']->getSu()) { + if($this->params['user']->isAdmin()) { + $showdivider = true; + echo "
  • ".getMLText("substitute_user")."
  • \n"; + } } if($showdivider) echo "
  • \n";