diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 5735c4de0..3242ab7c8 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -309,8 +309,10 @@ $(document).ready(function () { $content .= " \n"; $content .= " \n"; } - $content .= "
  • \n"; - $content .= "
  • ".getMLText("my_documents")."
  • \n"; + if ($this->check_access('MyDocuments')) { + $content .= "
  • \n"; + $content .= "
  • ".getMLText("my_documents")."
  • \n"; + } $content .= " \n"; // $content .= " \n"; // $content .= " \n"; @@ -336,9 +338,12 @@ $(document).ready(function () { echo "