parent
7daa97a166
commit
af58d6964b
|
@ -160,7 +160,7 @@ class LdapConnection implements Selectable, Inspectable
|
|||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $encryptionSuccess;
|
||||
protected $encrypted = null;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
|
@ -295,11 +295,11 @@ class LdapConnection implements Selectable, Inspectable
|
|||
*/
|
||||
public function isEncrypted()
|
||||
{
|
||||
if ($this->encryptionSuccess === null) {
|
||||
if ($this->encrypted === null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->encryptionSuccess;
|
||||
return $this->encrypted;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue