Commit 9a903e38 authored by Leigh Stoller's avatar Leigh Stoller

Fix PHP warning.

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