From 70aae83c8ee2a44b2eb880214af50f8052e12bf7 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Tue, 11 Apr 2006 11:33:15 +0000 Subject: #58166, fixes for typos, patch by Uwe Herrmann --- includes/form.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/form.inc') diff --git a/includes/form.inc b/includes/form.inc index f22d06526..7937b860d 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -573,7 +573,7 @@ function form_select_options($element, $choices = NULL) { if (!isset($choices)) { $choices = $element['#options']; } - // array_key_exists() accomodates the rare event where $element['#value'] is NULL. + // array_key_exists() accommodates the rare event where $element['#value'] is NULL. // isset() fails in this situation. $value_valid = isset($element['#value']) || array_key_exists('#value', $element); $value_is_array = is_array($element['#value']); @@ -937,7 +937,7 @@ function theme_textfield($element) { * A themed HTML string representing the form. */ function theme_form($element) { - // Anonymous div to satisfy XHTML compliancy. + // Anonymous div to satisfy XHTML compliance. $action = $element['#action'] ? 'action="' . check_url($element['#action']) . '" ' : ''; return '
\n
". $element['#children'] ."\n
\n"; } -- cgit v1.2.3