Commit d0f19599 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1474609: Unable to delete page description"

parents baa08519 dd242003
......@@ -214,6 +214,10 @@ function editview_submit(Pieform $form, $values) {
require_once('embeddedimage.php');
$view->set('description', EmbeddedImage::prepare_embedded_images($values['description'], 'description', $view->get('id')));
}
else {
// deleting description
$view->set('description', '');
}
$view->set('tags', $values['tags']);
if (isset($values['locked'])) {
$view->set('locked', (int)$values['locked']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment