Skip to content

Commit

Permalink
Merge pull request #347 from ptramonti/patch-1
Browse files Browse the repository at this point in the history
Fixed issue #09766: Blank page when trying to use the plugin manager
  • Loading branch information
Shnoulle committed Jul 17, 2015
2 parents 46dc1cd + 4e74586 commit 45316f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/core/plugins/AuthLDAP/AuthLDAP.php
Expand Up @@ -246,7 +246,7 @@ private function createConnection()
// Try to connect
$ldapconn = ldap_connect($ldapserver, (int) $ldapport);
if (false == $ldapconn) {
return [ "errorCode" => 1, "errorMessage" => gT('Error creating LDAP connection') ];
return array( "errorCode" => 1, "errorMessage" => gT('Error creating LDAP connection') );
}

// using LDAP version
Expand All @@ -265,7 +265,7 @@ private function createConnection()
if(!ldap_start_tls($ldapconn))
{
ldap_close($ldapconn); // all done? close connection
return [ "errorCode" => 100, 'errorMessage' => ldap_error($ldapconn) ];
return array( "errorCode" => 100, 'errorMessage' => ldap_error($ldapconn) );
}
}

Expand Down

0 comments on commit 45316f0

Please sign in to comment.