Commit 71b02a38 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Bug fix for nopidokay argument.

parent 68085f09
...@@ -105,7 +105,7 @@ function SPITFORM($formfields, $returning, $errors) ...@@ -105,7 +105,7 @@ function SPITFORM($formfields, $returning, $errors)
global $ACCOUNTWARNING, $EMAILWARNING; global $ACCOUNTWARNING, $EMAILWARNING;
global $WIKISUPPORT, $forwikionly, $WIKIHOME, $USERSELECTUIDS; global $WIKISUPPORT, $forwikionly, $WIKIHOME, $USERSELECTUIDS;
global $WIKIDOCURL; global $WIKIDOCURL;
global $PROTOGENI, $show_sslcertbox; global $PROTOGENI, $show_sslcertbox, $nopidokay;
if ($forwikionly) if ($forwikionly)
PAGEHEADER("Wiki Registration"); PAGEHEADER("Wiki Registration");
...@@ -160,6 +160,10 @@ function SPITFORM($formfields, $returning, $errors) ...@@ -160,6 +160,10 @@ function SPITFORM($formfields, $returning, $errors)
while (list ($key, $val) = each ($formfields)) { while (list ($key, $val) = each ($formfields)) {
$formfields[$key] = CleanString($val); $formfields[$key] = CleanString($val);
} }
if (isset($nopidokay)) {
$nopidokay = CleanString($nopidokay);
echo "<input type=hidden name=nopidokay value='$nopidokay'>\n";
}
echo "<SCRIPT LANGUAGE=JavaScript> echo "<SCRIPT LANGUAGE=JavaScript>
function SetWikiName(theform) function SetWikiName(theform)
......
Markdown is supported
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