Index: trunk/extensions/OpenStackManager/OpenStackNovaUser.php |
— | — | @@ -450,7 +450,7 @@ |
451 | 451 | $values['loginshell'] = $wgOpenStackManagerLDAPDefaultShell; |
452 | 452 | |
453 | 453 | if ( $wgOpenStackManagerLDAPUseUidAsNamingAttribute ) { |
454 | | - if ( $writeloc = '' ) { |
| 454 | + if ( $writeloc == '' ) { |
455 | 455 | return false; |
456 | 456 | $auth->printDebug( "Trying to set the userdn, but write location isn't set.", NONSENSITIVE ); |
457 | 457 | } else { |