diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 04:30:09 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 04:30:09 +0000 |
commit | f76acb2d9d421ff705be6fd2713b8cc2c007e1df (patch) | |
tree | 9fe17e06724737f1a6579cf1a889a1222885412f /modules/contact | |
parent | a765e882ebf89969e81335a6df4fddb23d27095f (diff) | |
download | brdo-f76acb2d9d421ff705be6fd2713b8cc2c007e1df.tar.gz brdo-f76acb2d9d421ff705be6fd2713b8cc2c007e1df.tar.bz2 |
#282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif.
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc index e9a9f00d3..041c05153 100644 --- a/modules/contact/contact.pages.inc +++ b/modules/contact/contact.pages.inc @@ -160,7 +160,7 @@ function contact_user_page($account) { if (!valid_email_address($user->mail)) { $output = t('You need to provide a valid e-mail address to contact other users. Please update your <a href="@url">user information</a> and try again.', array('@url' => url("user/$user->uid/edit", array('query' => 'destination=' . drupal_get_destination())))); } - else if (!flood_is_allowed('contact', variable_get('contact_hourly_threshold', 3)) && !user_access('administer site-wide contact form')) { + elseif (!flood_is_allowed('contact', variable_get('contact_hourly_threshold', 3)) && !user_access('administer site-wide contact form')) { $output = t("You cannot send more than %number messages per hour. Please try again later.", array('%number' => variable_get('contact_hourly_threshold', 3))); } else { |