summaryrefslogtreecommitdiff
path: root/includes/mail.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/mail.inc')
-rw-r--r--includes/mail.inc4
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) .']';