diff --git a/module/mail/model.php b/module/mail/model.php index 77d6ce94ed..1e9ef94084 100644 --- a/module/mail/model.php +++ b/module/mail/model.php @@ -273,7 +273,7 @@ class mailModel extends model $this->clear(); /* Replace full webPath image for mail. */ - if(strpos($body, 'src="data/upload')) $body = preg_replace('/server->http_host . $this->config->webRoot, $body); + if(strpos($body, 'src="data/upload')) $body = preg_replace('/server->http_host . $this->config->webRoot . 'data/upload', $body); try {