Commit 9a903e38 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix PHP warning.

parent a276f73d
...@@ -293,7 +293,8 @@ function SPITFORM($formfields, $errors) ...@@ -293,7 +293,8 @@ function SPITFORM($formfields, $errors)
# Planetlab bit. This should really be a drop down menu of the # Planetlab bit. This should really be a drop down menu of the
# choices. # choices.
# #
if ($formfields["user_interface"] == TBDB_USER_INTERFACE_PLAB) { if (isset($formfields["user_interface"]) &&
$formfields["user_interface"] == TBDB_USER_INTERFACE_PLAB) {
$checked = "checked"; $checked = "checked";
} else { } else {
$checked = ""; $checked = "";
......
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