Commit 12385ea3 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix PHP warnings.

parent 9016c9e4
...@@ -414,6 +414,9 @@ function SPITFORM($formfields, $returning, $errors) ...@@ -414,6 +414,9 @@ function SPITFORM($formfields, $returning, $errors)
# #
# Publicly visible. # Publicly visible.
# #
if (!isset($formfields["proj_public"])) {
$formfields["proj_public"] = "";
}
echo "<tr> echo "<tr>
<td colspan=2>*Can we list your project publicly as <td colspan=2>*Can we list your project publicly as
an \"Emulab User?\": an \"Emulab User?\":
...@@ -437,6 +440,9 @@ function SPITFORM($formfields, $returning, $errors) ...@@ -437,6 +440,9 @@ function SPITFORM($formfields, $returning, $errors)
# #
# Will you add a link? # Will you add a link?
# #
if (!isset($formfields["proj_linked"])) {
$formfields["proj_linked"] = "";
}
echo "<tr> echo "<tr>
<td colspan=2>*Will you add a link on your project page <td colspan=2>*Will you add a link on your project page
to <a href=\"$TBDOCBASE\" target='_blank'>$WWWHOST</a>? to <a href=\"$TBDOCBASE\" target='_blank'>$WWWHOST</a>?
......
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