From: garvinhicking Date: Mon, 23 Oct 2006 09:46:19 +0000 (+0000) Subject: reset proper draft privileges for published entries and authors without having the... X-Git-Tag: 1.1~67 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cdf13c55508fb2ef0a805bbe06afcd46c8853844;p=s9y.git reset proper draft privileges for published entries and authors without having the permission to save published entries --- diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index dafdcab..765053e 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -1208,7 +1208,7 @@ function serendipity_updertEntry($entry) { } if (!$_SESSION['serendipityRightPublish']) { - unset($entry['isdraft']); + $entry['isdraft'] = 'true'; } if (is_array($categories)) {