Commit 69192af0 authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix the case when the user supplies no length for a cable.

parent a31d7548
......@@ -55,7 +55,7 @@ foreach ($HTTP_GET_VARS as $key => $value) {
DBQueryFatal("UPDATE new_interfaces SET mac='$mac', " .
"interface_type='$type', switch_id='$switch_id', " .
"switch_card='$switch_card', switch_port='$switch_port', " .
"cable='$cable', len=$len " .
"cable='$cable', len='$len' " .
"WHERE new_node_id=$id AND card='$card'");
}
}
......
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