@@ -294,7 +294,7 @@ |
||
| 294 | 294 | $parts = []; |
| 295 | 295 | foreach ($values as $value) { |
| 296 | 296 | $value = empty($escape) ? $value : strtr($value, $escape); |
| 297 | - $parts[] = $not.'('.$column.'=*'.$value.'*)'.($not? ')' : ''); |
|
| 297 | + $parts[] = $not.'('.$column.'=*'.$value.'*)'.($not ? ')' : ''); |
|
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | return '('.$this->operator[trim($andor)].implode($parts).')'; |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | // Set the LDAP options. |
| 128 | 128 | $this->setOption(LDAP_OPT_PROTOCOL_VERSION, 3); |
| 129 | 129 | $this->setOption(LDAP_OPT_REFERRALS, $this->followReferrals); |
| 130 | - if ($this->useTLS ) { |
|
| 130 | + if ($this->useTLS) { |
|
| 131 | 131 | $this->startTLS(); |
| 132 | 132 | } |
| 133 | 133 | |