Commit 14d6980a authored by Leigh Stoller's avatar Leigh Stoller

Fix PHP warnings.

parent 9ac161af
......@@ -560,7 +560,8 @@ function SPITFORM($formfields, $errors)
<td><input type='checkbox'
name='formfields[exp_idleswap]'
value='1'";
if ($formfields['exp_idleswap'] == "1") {
if (isset($formfields['exp_idleswap']) &&
$formfields['exp_idleswap'] == "1") {
echo " checked='1'";
}
echo "></td>
......
......@@ -5,6 +5,8 @@
# All rights reserved.
#
#
include_once("template_defs.php");
# This class is really just a wrapper around the DB data ...
#
# A cache to avoid lookups. Indexed by node_id.
......
......@@ -7,7 +7,7 @@
include("defs.php3");
require("Sajax.php");
include("showstuff.php3");
include("template_defs.php");
include_once("template_defs.php");
sajax_init();
sajax_export("GetExpState", "Show", "ModifyAnno");
......
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