Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
fixed ldap exception for dev; fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jen Fong-Adwent committed Oct 19, 2011
1 parent 39970e3 commit 12fe547
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
.DS_Store
application/cache
logs
application/config/workermgmt.php
2 changes: 1 addition & 1 deletion application/classes/filing.php
Expand Up @@ -268,7 +268,7 @@ public function construct_content() {
public function file() {
$filing_response = array();
/**
* Take the user input an contruct the content for the bug filing
* Take the user input and construct the content for the bug filing
*/
$this->construct_content();
/**
Expand Down
6 changes: 4 additions & 2 deletions modules/bugzilla/classes/ldap.php
Expand Up @@ -228,8 +228,10 @@ private function fetch_user_array($ldap_email, $attrbutes_to_return=array("*"))
}
// cleanup, convert to expected underscore format
foreach ($search_results as &$result) {
$result['employee_type']=$result['employeetype'];
unset ($result['employeetype']);
if(isset($result['employeetype'])) {
$result['employee_type']=$result['employeetype'];
unset ($result['employeetype']);
}
if(isset ($result['bugzillaemail'])) {
$result['bugzilla_email']=$result['bugzillaemail'];
unset ($result['bugzillaemail']);
Expand Down

0 comments on commit 12fe547

Please sign in to comment.