diff options
Diffstat (limited to 'frontend/pages/configurations/wizard.php')
-rw-r--r-- | frontend/pages/configurations/wizard.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/pages/configurations/wizard.php b/frontend/pages/configurations/wizard.php index 9a2b5d4..571f803 100644 --- a/frontend/pages/configurations/wizard.php +++ b/frontend/pages/configurations/wizard.php @@ -6,11 +6,11 @@ function init_configurations_wizard() { } if (isset($request['configuration']) && strlen($request['configuration']) == 6 && ctype_alnum($request['configuration'])) { $S['wizard']['configuration']=new sql_configuration($request['configuration']); - wizard::set_configuration($S['wizard']['configuration']); $configuration=&$S['wizard']['configuration']; if ($configuration->owner != $S['user']->id) { return '404'; } + wizard::set_configuration($S['wizard']['configuration']); if (isset($request['wizard_submit'])) { $steps=array_keys($request['wizard_submit']); $step=$steps[0]; @@ -35,7 +35,7 @@ function init_configurations_wizard() { } } elseif (isset($request['init'])) { $S['wizard']['configuration']=new sql_configuration(); - wizard::set_configuration($S['wizard']['configuration']); + wizard::set_configuration($S['wizard']['configuration']); $configuration=&$S['wizard']['configuration']; $configuration->name=$request['name']; $mod=isset($request['mod']) && isset($conf['modules'][$request['mod']])?$conf['modules'][$request['mod']]:$conf['modules'][0]; |