fixed login name display if contains no "="
This commit is contained in:
		
							parent
							
								
									57ab5f7959
								
							
						
					
					
						commit
						23819a8cf4
					
				|  | @ -336,7 +336,12 @@ function display_LoginPage($config_object) { | |||
| 								for($i = 0; $i < count($admins); $i++) { | ||||
| 									$text = explode(",", $admins[$i]); | ||||
| 									$text = explode("=", $text[0]); | ||||
| 									$adminList[$text[1]] = $admins[$i]; | ||||
| 									if (isset($text[1])) { | ||||
| 										$adminList[$text[1]] = $admins[$i]; | ||||
| 									} | ||||
| 									else { | ||||
| 										$adminList[$text[0]] = $admins[$i]; | ||||
| 									} | ||||
| 								} | ||||
| 								$userSelect = new htmlSelect('username', $adminList); | ||||
| 								$userSelect->setHasDescriptiveElements(true); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue