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