summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-07-10 13:46:25 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-07-10 14:25:58 -0600
commit42f1649fbb4b90f6e2e1cfb78ab7b7acb744d776 (patch)
treebb00e21ac463fde219660be9ec5312fb07f3d87c
parent43141617a39cd665db6d9fca76b10e3d5ac02e43 (diff)
downloadpfsense-42f1649fbb4b90f6e2e1cfb78ab7b7acb744d776.zip
pfsense-42f1649fbb4b90f6e2e1cfb78ab7b7acb744d776.tar.gz
Restore the code for getting the step's title and description after the step ID is set so that it is read from the correct step.
-rwxr-xr-xusr/local/www/wizard.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 800bf30..540236c 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -158,6 +158,9 @@ function update_config_field($field, $updatetext, $unset, $arraynum, $field_type
eval($text);
}
+$title = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['title']);
+$description = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['description']);
+
// handle before form display event.
do {
$oldstepid = $stepid;
OpenPOWER on IntegriCloud