From a8766c858f62647857c6bded66f134f7305ef73c Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 24 Nov 2014 08:51:39 +0000 Subject: [PATCH] * fix a bug. --- module/mail/model.php | 2 +- module/task/view/create.html.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/module/mail/model.php b/module/mail/model.php index 9280539655..eb8a8b3403 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 . 'data/upload', $body); + if(strpos($body, 'src="data/upload')) $body = preg_replace('/server->http_host . $this->config->webRoot . 'data/upload', $body); try { diff --git a/module/task/view/create.html.php b/module/task/view/create.html.php index 79fb5dc4cd..8d1d7630d9 100644 --- a/module/task/view/create.html.php +++ b/module/task/view/create.html.php @@ -14,7 +14,6 @@ -task->placeholder);?>