Commit 865d1858 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1666102: Check for edit permissions when deleting a journal


Change-Id: I8129db13fd22a16c763e5ce24074957082ac4f22
parent cf735e83
......@@ -118,7 +118,7 @@ function delete_blog_submit(Pieform $form, $values) {
global $SESSION;
$blog = new ArtefactTypeBlog($values['delete']);
$institution = $blog->get('institution');
$group = $blog->get('group');
if ($blog->get('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