LSattribute :: myRights() : Fixed notice PHP
authorBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:45:11 +0000 (19:45 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:45:11 +0000 (19:45 +0100)
public_html/includes/class/class.LSattribute.php

index 4d21d81..b80241d 100644 (file)
@@ -297,6 +297,7 @@ class LSattribute {
           }
           break;
         default:
+          if (!isset($this -> config['rights'][$who])) break;
           if ($this -> config['rights'][$who] == 'w') {
             $return='w';
             break;