summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/contact/contact.pages.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc
index 9308ea4e5..1054d5882 100644
--- a/modules/contact/contact.pages.inc
+++ b/modules/contact/contact.pages.inc
@@ -60,7 +60,8 @@ function contact_mail_page() {
// If there is more than one category available and no default category has been selected,
// prepend a default placeholder value.
if (!isset($default_category)) {
- $categories = array(t('--')) + $categories;
+ $default_category = t('- Please choose -');
+ $categories = array($default_category) + $categories;
}
$form['cid'] = array('#type' => 'select',
'#title' => t('Category'),