summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-07-03 19:53:01 +0000
committerDries Buytaert <dries@buytaert.net>2007-07-03 19:53:01 +0000
commit20093d5fc84378634c4b21efb73c867a56cbbc47 (patch)
tree34633bcdbe6a4c8d6381885fa310bb89fd71abd0 /includes
parent256ef82dc238be3782afd5ce6e1af1525d9388f9 (diff)
downloadbrdo-20093d5fc84378634c4b21efb73c867a56cbbc47.tar.gz
brdo-20093d5fc84378634c4b21efb73c867a56cbbc47.tar.bz2
- Patch #111086 by webchick: fix contact module error message.
Diffstat (limited to 'includes')
-rw-r--r--includes/form.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 82261eb6c..608fe755e 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -672,7 +672,6 @@ function form_get_error($element) {
* Flag an element as having an error.
*/
function form_error(&$element, $message = '') {
- $element['#error'] = TRUE;
form_set_error(implode('][', $element['#parents']), $message);
}