mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +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'];
|
return $this -> cache['subDnValue'];
|
||||||
}
|
}
|
||||||
elseif ($key=='subDnName') {
|
elseif ($key=='subDnName') {
|
||||||
if ($this -> cache['subDnName']) {
|
if (isset($this -> cache['subDnName']) && $this -> cache['subDnName']) {
|
||||||
return $this -> cache['subDnName'];
|
return $this -> cache['subDnName'];
|
||||||
}
|
}
|
||||||
$this -> cache['subDnName'] = self :: getSubDnName($this -> dn);
|
$this -> cache['subDnName'] = self :: getSubDnName($this -> dn);
|
||||||
|
|
|
@ -226,7 +226,7 @@ class LSrelation {
|
||||||
* @retval void
|
* @retval void
|
||||||
*/
|
*/
|
||||||
public static function displayInLSview($object) {
|
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=array();
|
||||||
$LSrelations_JSparams=array();
|
$LSrelations_JSparams=array();
|
||||||
foreach($object -> config['LSrelation'] as $relationName => $relationConf) {
|
foreach($object -> config['LSrelation'] as $relationName => $relationConf) {
|
||||||
|
|
Loading…
Reference in a new issue