Skip to content

Commit

Permalink
Fix fatal error (Bug #12910).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 22, 2014
1 parent bbb23c9 commit 9716784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/lib/Block/Account/Ldap.php
Expand Up @@ -202,7 +202,7 @@ public function checkPasswordStatus()
try {
$accountControl = $information->getValue('useraccountcontrol', 'single');
$pwdlastset = $information->getValue('pwdlastset', 'single');
$accountControl = $information[0]['useraccountcontrol'][0];
$accountControl = $information->getValue('useraccountcontrol', 'single');
if (($accountControl & 65536) != 0) {
// ADS_UF_DONT_EXPIRE_PASSWD
return '';
Expand Down

0 comments on commit 9716784

Please sign in to comment.