diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index bd6b2b15e..142ed37d2 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -961,9 +961,9 @@ function form_set_error($name, $message) { } /** - * Return true when errors have been set. + * Return an associative array of all errors. */ -function form_has_errors() { +function form_get_errors() { if (array_key_exists('form', $GLOBALS)) { return $GLOBALS['form']; } |