WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 413a407

Browse files
committed
adding the option to call edit_profile in the wizard mode
1 parent 9dec610 commit 413a407

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web/admin/edit_profile.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@
7373
$loggerInstance = new \core\common\Logging();
7474

7575
if (isset($_GET['profile_id'])) { // oh! We should edit an existing profile, not create a new one!
76-
$wizardStyle = FALSE;
76+
if (isset($_GET['wizard']) && $_GET['wizard'] == "true") {
77+
$wizardStyle = TRUE;
78+
} else {
79+
$wizardStyle = FALSE;
80+
}
7781
$my_profile = $validator->existingProfile($_GET['profile_id'], $my_inst->identifier);
7882
if (!$my_profile instanceof \core\ProfileRADIUS) {
7983
throw new Exception("This page is only for editing RADIUS profiles!");

0 commit comments

Comments
 (0)