diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-07-03 19:53:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-07-03 19:53:01 +0000 |
commit | 20093d5fc84378634c4b21efb73c867a56cbbc47 (patch) | |
tree | 34633bcdbe6a4c8d6381885fa310bb89fd71abd0 /modules/contact | |
parent | 256ef82dc238be3782afd5ce6e1af1525d9388f9 (diff) | |
download | brdo-20093d5fc84378634c4b21efb73c867a56cbbc47.tar.gz brdo-20093d5fc84378634c4b21efb73c867a56cbbc47.tar.bz2 |
- Patch #111086 by webchick: fix contact module error message.
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module index fc04d9892..a64cf4116 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -472,7 +472,7 @@ function contact_mail_page() { ); } else { - $form['#error'] = array('#value' => t('The contact form has not been configured.')); + drupal_set_message(t('The contact form has not been configured. <a href="@add">Add one or more categories</a> to the form.', array('@add' => url('admin/build/contact/add'))), 'error'); } return $form; } |