Avoid some notices in edit page (debug=on)
:-)
This commit is contained in:
+6
-3
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user