mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LSldapObject :: __get() : Fixed notice PHP
This commit is contained in:
parent
813b2222f7
commit
84c785e9f4
1 changed files with 1 additions and 1 deletions
|
@ -1948,7 +1948,7 @@ class LSldapObject {
|
||||||
**/
|
**/
|
||||||
function __get($key) {
|
function __get($key) {
|
||||||
if ($key=='subDnValue') {
|
if ($key=='subDnValue') {
|
||||||
if ($this -> cache['subDnValue']) {
|
if (isset($this -> cache['subDnValue'])) {
|
||||||
return $this -> cache['subDnValue'];
|
return $this -> cache['subDnValue'];
|
||||||
}
|
}
|
||||||
$this -> cache['subDnValue'] = self :: getSubDnValue($this -> dn);
|
$this -> cache['subDnValue'] = self :: getSubDnValue($this -> dn);
|
||||||
|
|
Loading…
Reference in a new issue