Commit db948a97 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5759-invalid-objecttype-cannot-bind-to-ldap-browser-cache' into '1.3-dev'

Resolve "Invalid objectType / Cannot bind to LDAP / browser cache"

See merge request fusiondirectory/fd!122
parents bf22bd3d f8a10bad
......@@ -387,7 +387,7 @@ class filter
break;
default:
die ("Unknown element type specified!");
throw new Exception ('Unknown element type specified: '.$element['type'].'!');
}
$smarty->assign("$tag", $htmlCode);
}
......
......@@ -162,7 +162,7 @@ class filterLDAP
$result[] = $attrs;
}
} else {
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $dn, "Invalid objectType given!");
trigger_error('Could not find objectType for '.$dn.'!');
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment