mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
Fix some PHP warnings
This commit is contained in:
parent
e1cce4e696
commit
76577c058b
2 changed files with 2 additions and 2 deletions
|
@ -1806,7 +1806,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
|
|||
return $this -> cache['subDnValue'];
|
||||
}
|
||||
elseif ($key=='subDnName') {
|
||||
if ($this -> cache['subDnName']) {
|
||||
if (isset($this -> cache['subDnName']) && $this -> cache['subDnName']) {
|
||||
return $this -> cache['subDnName'];
|
||||
}
|
||||
$this -> cache['subDnName'] = self :: getSubDnName($this -> dn);
|
||||
|
|
|
@ -226,7 +226,7 @@ class LSrelation {
|
|||
* @retval void
|
||||
*/
|
||||
public static function displayInLSview($object) {
|
||||
if (($object instanceof LSldapObject) && (is_array($object -> config['LSrelation']))) {
|
||||
if (($object instanceof LSldapObject) && isset($object -> config['LSrelation']) && is_array($object -> config['LSrelation'])) {
|
||||
$LSrelations=array();
|
||||
$LSrelations_JSparams=array();
|
||||
foreach($object -> config['LSrelation'] as $relationName => $relationConf) {
|
||||
|
|
Loading…
Reference in a new issue