Updating after post does now work

This commit is contained in:
Michael 2017-12-20 10:16:25 +00:00
parent fa8a09d977
commit 343f22e02f
3 changed files with 16 additions and 13 deletions

View file

@ -15,7 +15,7 @@ function update_display_content(App $a)
echo "<!DOCTYPE html><html><body>\r\n";
echo "<section>";
$text = display_content($a, $profile_uid);
$text = display_content($a, true, $profile_uid);
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
$replace = "<img\${1} dst=\"\${2}\"";
$text = preg_replace($pattern, $replace, $text);