summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forum/utils/addressbook.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/forum/utils/addressbook.php b/forum/utils/addressbook.php
index 29b0fb0..9fe3e9c 100644
--- a/forum/utils/addressbook.php
+++ b/forum/utils/addressbook.php
@@ -14,7 +14,7 @@ function form($cid,
$email2 = "",
$url = "",
$url2 = "",
- $essential = "",
+ $essential = "on",
$notes = "")
{
?>
@@ -30,7 +30,7 @@ function form($cid,
Email2: <input name="email2" value="<?php echo $email2;?>"><br/>
URL: <input name="url" value="<?php echo $url;?>"><br/>
URL2: <input name="url2" value="<?php echo $url2;?>"><br/>
- Essential: <input type="checkbox" name="essential" <?php if($essential == "on") echo " checked";?>><br/>
+ Essential: <input type="checkbox" name="essential"<?php if($essential == "on") echo " checked";?>><br/>
Notes:<br/>
<textarea name="notes" cols="60" rows="10"><?php echo $notes;?></textarea><br/>
<button type="submit"><?php echo $buttontext; ?></button>