Unverified Commit 95297e79 authored by heloiseZ's avatar heloiseZ Committed by GitHub
Browse files

🔨 update foreach

parent 6cb5cd77
......@@ -180,8 +180,7 @@ include("../../side.php");
reset($array_user_mgt);
// Display the list of management choices
foreach($array_user_mgt as $mgt) {
list($mgt_name, $mgt_url) = $mgt;
foreach($array_user_mgt as $mgt_name => $mgt_url) {
echo "<option value='$mgt_url'>".getLabel($mgt_name)."</option>";
}
?>
......
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