reset proper draft privileges for published entries and authors without having the permission to save published entries
This commit is contained in:
parent
8df915bcf5
commit
a88887e4c5
@ -1208,7 +1208,7 @@ function serendipity_updertEntry($entry) {
|
||||
}
|
||||
|
||||
if (!$_SESSION['serendipityRightPublish']) {
|
||||
unset($entry['isdraft']);
|
||||
$entry['isdraft'] = 'true';
|
||||
}
|
||||
|
||||
if (is_array($categories)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user