summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 7b9d119e8..5ff0193fe 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -639,7 +639,7 @@ function _form_validate($elements, &$form_state, $form_id = NULL) {
_form_validate($elements[$key], $form_state);
}
}
- /* Validate the current input */
+ // Validate the current input.
if (!isset($elements['#validated']) || !$elements['#validated']) {
if (isset($elements['#needs_validation'])) {
// An empty textfield returns '' so we use empty(). An empty checkbox
@@ -817,7 +817,7 @@ function form_builder($form_id, $form, &$form_state) {
// Initialize as unprocessed.
$form['#processed'] = FALSE;
- /* Use element defaults */
+ // Use element defaults.
if ((!empty($form['#type'])) && ($info = _element_info($form['#type']))) {
// Overlay $info onto $form, retaining preexisting keys in $form.
$form += $info;
@@ -1525,7 +1525,7 @@ function theme_password_confirm($element) {
return theme('form_element', $element, $element['#children']);
}
-/*
+/**
* Expand a password_confirm field into two text boxes.
*/
function expand_password_confirm($element) {