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