summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2001-12-20 22:00:00 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2001-12-20 22:00:00 +0000
commitbdcb96e6cc75f3d41967548ecd7988fa1899df77 (patch)
tree55ded602c9a96c0205e649bc954deee34d0dd2f5
parente798fe83730039417ea80a790b59d4a3290c9d64 (diff)
downloadbrdo-bdcb96e6cc75f3d41967548ecd7988fa1899df77.tar.gz
brdo-bdcb96e6cc75f3d41967548ecd7988fa1899df77.tar.bz2
Replaed incorrect "<p />" tag in form_item with a better <p> ... </p> combination.
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index c235c055c..86a7ae9f7 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -332,7 +332,7 @@ function form($form, $method = "post", $action = 0, $options = 0) {
}
function form_item($title, $value, $description = 0) {
- return ($title ? "<b>$title:</b><br />" : "") . $value . ($description ? "<br /><small><i>$description</i></small>" : "") ."<p />\n";
+ return "<p>". ($title ? "<b>$title:</b><br />" : "") . $value . ($description ? "<br /><small><i>$description</i></small>" : "") ."</p>\n";
}
function form_checkbox($title, $name, $value = 1, $checked = 0, $description = 0) {