diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-09-04 21:10:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-09-04 21:10:45 +0000 |
commit | 2db2c039fb5caabf511c95f15034ec18b39533d4 (patch) | |
tree | cb0c2885a87d46c204f14df42993c40a17f0c454 /includes/mail.inc | |
parent | 957997516d2b7c0391fe71a84d8e9aa4bb984495 (diff) | |
download | brdo-2db2c039fb5caabf511c95f15034ec18b39533d4.tar.gz brdo-2db2c039fb5caabf511c95f15034ec18b39533d4.tar.bz2 |
- Patch #172950 by webernet: code style fixes.
Diffstat (limited to 'includes/mail.inc')
-rw-r--r-- | includes/mail.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/mail.inc b/includes/mail.inc index 55d2b29a9..72c7258e6 100644 --- a/includes/mail.inc +++ b/includes/mail.inc @@ -173,7 +173,7 @@ function drupal_mail($module, $key, $to, $language, $params = array(), $from = N function drupal_mail_send($message) { // Allow for a custom mail backend. if (variable_get('smtp_library', '') && file_exists(variable_get('smtp_library', ''))) { - include_once './' . variable_get('smtp_library', ''); + include_once './'. variable_get('smtp_library', ''); return drupal_mail_wrapper($message); } else { @@ -436,7 +436,7 @@ function _drupal_html_to_mail_urls($match = NULL) { $regexp = '@^'. preg_quote($base_path, '@') .'@'; } if ($match) { - list(,, $url, $label) = $match; + list(, , $url, $label) = $match; // Ensure all URLs are absolute. $urls[] = strpos($url, '://') ? $url : preg_replace($regexp, $base_url .'/', $url); return $label .' ['. count($urls) .']'; |