handle removal and addition (duh)

This commit is contained in:
jrandom
2004-08-19 22:02:28 +00:00
committed by zzz
parent 62d6709949
commit 3053c797e8

View File

@@ -283,7 +283,7 @@ class WebEditPageFormGenerator {
buf.append("\" /><br />\n");
buf.append("<b>Start automatically?</b> \n");
buf.append("<input type=\"checkbox\" name=\"startOnLoad\" value=\"true\" ");
if (controller.getStartOnLoad())
if ( (controller != null) && (controller.getStartOnLoad()) )
buf.append(" checked=\"true\" />\n<br />\n");
else
buf.append(" />\n<br />\n");