Skip to content
Snippets Groups Projects
Commit f8d731c8 authored by Jared Hancock's avatar Jared Hancock
Browse files

Fix image corruption issue on pages

parent c23c9691
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,8 @@ if($page && $_REQUEST['a']!='add'){
$action='update';
$submit_text='Save Changes';
$info=$page->getHashtable();
$info['body'] = $page->getBodyWithImages();
$info['body'] = Format::viewableImages($page->getBody());
$info['notes'] = Format::viewableImages($info['notes']);
$slug = Format::slugify($info['name']);
$qstr.='&id='.$page->getId();
}else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment