Avoid some notices in edit page (debug=on)

:-)
This commit is contained in:
stronk7
2004-05-20 19:04:42 +00:00
parent e1e108d41d
commit e84ce5c8ca
+6 -3
View File
@@ -2,11 +2,14 @@
if (empty($form->name)) {
$form->name = "";
}
if (empty($form->reference)) {
$form->reference = "";
}
if (empty($form->summary)) {
$form->summary = "";
}
if (empty($form->alltext)) {
$form->alltext = "";
if (empty($form->auto)) {
$form->auto = "";
}
?>
@@ -76,4 +79,4 @@
<center>
<input type="submit" value="<?php print_string("continue") ?>">
</center>
</form>
</form>