--- docroot/sites/all/modules/contrib/mimemail/mimemail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docroot/sites/all/modules/contrib/mimemail/mimemail.inc b/docroot/sites/all/modules/contrib/mimemail/mimemail.inc index 730d58b..f5aa0c3 100644 --- a/docroot/sites/all/modules/contrib/mimemail/mimemail.inc +++ b/docroot/sites/all/modules/contrib/mimemail/mimemail.inc @@ -443,7 +443,7 @@ function _mimemail_url($url, $embed_file = NULL) { return $url; } // If the image embedding is disabled, return the absolute URL for the image. - elseif (variable_get('mimemail_linkonly', 0) && preg_match('!\.(png|gif|jpg|jpeg)$!i', $url)) { + elseif (variable_get('mimemail_linkonly', 0) && preg_match('!\.(png|gif|jpg|jpeg)!i', $url)) { $url = $base_url . $url; $url = str_replace(' ', '%20', $url); return $url; --