Commit c5749e35 authored by Leigh Stoller's avatar Leigh Stoller

Fix PHP warnings

parent e88632c9
......@@ -115,7 +115,7 @@ function Show($which, $arg1, $arg2)
" position: relative; height: 450px; ".
" width: 90%; border: 2px solid black;'>\n";
$html .= " <img border=0 ";
$html .= " src='linkgraph_image.php?exptidx=$exptidx";
$html .= " src='linkgraph_image.php?instance=$exptidx";
$html .= "&graphtype=$graphtype&now=$now'>\n";
$html .= "</div>\n";
......
......@@ -400,7 +400,7 @@ elseif (isset($_FILES['nsfile']) && $_FILES['nsfile']['size'] != 0) {
# the php temporary file name. Note that there appears to be some kind
# of breakage, at least in opera; filename has no path.
#
$formfields[nsfile] = $_FILES['nsfile']['name'];
$formfields["nsfile"] = $_FILES['nsfile']['name'];
$nsfilelocale = "remote";
}
else {
......
......@@ -1716,7 +1716,7 @@ class TemplateInstance
$html .= " <img border=0 ";
$html .= " onLoad=\"ClearLoadingIndicators('');\" ";
$html .= " src='linkgraph_image.php?exptidx=$exptidx";
$html .= " src='linkgraph_image.php?instance=$exptidx";
$html .= "&graphtype=$graphtype${runarg}";
$html .= "${srcarg}${dstarg}'>\n";
$html .= "</div>\n";
......
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