Commit fdc6390e authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1715491: fix for removing tags from view



behatnotneeded

Change-Id: I014b29c0b7e22a0ff87f321fe60ccb66edd88bbe
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 7c45e18b)
parent ffc16c22
......@@ -216,7 +216,8 @@ function editview_submit(Pieform $form, $values) {
// deleting description
$view->set('description', '');
}
$view->set('tags', $values['tags']);
$tags = $values['tags'] ? $values['tags'] : array();
$view->set('tags', $tags);
if (isset($values['locked'])) {
$view->set('locked', (int)$values['locked']);
}
......
Supports Markdown
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