]> git.mjollnir.org Git - s9y.git/commitdiff
reset proper draft privileges for published entries and authors without having the...
authorgarvinhicking <garvinhicking>
Mon, 23 Oct 2006 09:46:19 +0000 (09:46 +0000)
committergarvinhicking <garvinhicking>
Mon, 23 Oct 2006 09:46:19 +0000 (09:46 +0000)
include/functions_entries.inc.php

index dafdcab79bb8e3de2be79654370c2141d54305a4..765053e27e5afad20766f83ba46503d9771a66c4 100644 (file)
@@ -1208,7 +1208,7 @@ function serendipity_updertEntry($entry) {
         }
 
         if (!$_SESSION['serendipityRightPublish']) {
-            unset($entry['isdraft']);
+            $entry['isdraft'] = 'true';
         }
 
         if (is_array($categories)) {