diff --git a/public_html/includes/class/class.LSsession.php b/public_html/includes/class/class.LSsession.php
index d0a10bb8..e9e3da27 100644
--- a/public_html/includes/class/class.LSsession.php
+++ b/public_html/includes/class/class.LSsession.php
@@ -1876,7 +1876,7 @@ class LSsession {
if (($right=='w') || ($right=='r')) {
$r = 'n';
foreach($whoami as $who) {
- $nr = $relConf['rights'][$who];
+ $nr = ((isset($relConf['rights'][$who]))?$relConf['rights'][$who]:'');
if($nr == 'w') {
$r = 'w';
}
@@ -1893,7 +1893,7 @@ class LSsession {
}
else {
foreach($whoami as $who) {
- if (($relConf['rights'][$who] == 'w') || ($relConf['rights'][$who] == 'r')) {
+ if ((isset($relConf['rights'][$who])) && ( ($relConf['rights'][$who] == 'w') || ($relConf['rights'][$who] == 'r') ) ) {
return true;
}
}