Skip to content

Commit

Permalink
Remove E_NOTICEs with LDAP authentication - refs BT#11215
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed May 31, 2016
1 parent b2efe1b commit 48326d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion main/auth/external_login/newUser.ldap.php
Expand Up @@ -65,5 +65,4 @@
} else {
$loginFailed = true;
$uidReset = false;
unset($_user['user_id']);
}
4 changes: 2 additions & 2 deletions main/inc/local.inc.php
Expand Up @@ -555,11 +555,11 @@

if (isset($extAuthSource) && is_array($extAuthSource)) {
foreach ($extAuthSource as $thisAuthSource) {
if (!empty($thisAuthSource['newUser']) && file_exists($thisAuthSource['newUser'])) {
if (isset($thisAuthSource['newUser']) && file_exists($thisAuthSource['newUser'])) {
include_once($thisAuthSource['newUser']);
} else {
error_log(
'Chamilo Authentication file '. $thisAuthSource['newUser'].
'Chamilo Authentication external file' .
' could not be found - this might prevent your system from using'.
' the authentication process in the user creation process',
0
Expand Down

0 comments on commit 48326d3

Please sign in to comment.