diff --git a/CHANGELOG b/CHANGELOG
index 007aab830..09d45b02e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -146,6 +146,7 @@
- allow multiple dependencies on seeddms of extension
- add table with chart data below chart
- do now show tasks in menu if workflow is turned off completely
+- do not show hidden users in session list
--------------------------------------------------------------------------------
Changes in version 5.1.15
diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php
index 324e4880b..83a5a1f62 100644
--- a/views/bootstrap/class.Bootstrap.php
+++ b/views/bootstrap/class.Bootstrap.php
@@ -1117,7 +1117,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
function formSubmit($value, $name='') { /* {{{ */
echo "
\n";
+
+ /* $hasuser will be set to true when at least one of the logged in users
+ * is visible and not hidden in user lists.
+ */
+ $c = 0;
+ $ucontent = '';
foreach($sessions as $session) {
if($sesuser = $dms->getUser($session->getUser()))
- if(!$sesuser->isHidden())
- $content .= "