* fix bug #371.
This commit is contained in:
@@ -22,9 +22,10 @@
|
||||
<legend><?php echo $lang->task->legendDesc;?></legend>
|
||||
<div class='content'>
|
||||
<?php
|
||||
if(strpos($task->desc, '<img src="data/upload'))
|
||||
if(strpos($task->desc, 'src="data/upload'))
|
||||
{
|
||||
$task->desc = str_replace('<img src="', '<img src="http://' . $this->server->http_host . $this->config->webRoot, $task->desc);
|
||||
$task->desc = str_replace('<img alt="" src="', '<img src="http://' . $this->server->http_host . $this->config->webRoot, $task->desc);
|
||||
}
|
||||
echo $task->desc;
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user