get_Admins() instead of Admins[]

This commit is contained in:
duergner 2003-09-21 20:03:40 +00:00
parent 15da8f76f0
commit 556843c58e
1 changed files with 3 additions and 2 deletions

View File

@ -126,8 +126,9 @@ function display_LoginPage($config_object,$profile)
<td width="45%" align="left">
<select name="username" size="1">
<?php
for($i = 0; $i < count($config_object->Admins); $i++) {
$text = explode(",", $config_object->Admins[$i]);
$admin = $config_object->get_Admins();
for($i = 0; $i < count($admins); $i++) {
$text = explode(",", $admins[$i]);
$text = explode("=", $text[0]);
?>
<option value="<?php echo $config_object->Admins[$i]; ?>"><?php echo $text[1]; ?></option>