diff options
author | Michael Hamann <michael@content-space.de> | 2010-12-12 19:48:29 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2010-12-12 19:48:29 +0100 |
commit | 03f008cd4edafbcb75d5f3b99bd3271caabed988 (patch) | |
tree | 1db04fd82bad84bbd169817687658c5d4ed95488 /inc | |
parent | 3e304b55d99607a2d4586c7a4f0219736d995478 (diff) | |
download | rpg-03f008cd4edafbcb75d5f3b99bd3271caabed988.tar.gz rpg-03f008cd4edafbcb75d5f3b99bd3271caabed988.tar.bz2 |
Copy changes from ajax_lock to act_draftsave
Diffstat (limited to 'inc')
-rw-r--r-- | inc/actions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php index d98382a3b..a4461d1ab 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -292,9 +292,10 @@ function act_draftsave($act){ global $conf; if($conf['usedraft'] && $_POST['wikitext']){ $draft = array('id' => $ID, - 'prefix' => $_POST['prefix'], + 'prefix' => substr($_POST['prefix'], 0, -1), 'text' => $_POST['wikitext'], 'suffix' => $_POST['suffix'], + 'date' => (int) $_POST['date'], 'date' => $_POST['date'], 'client' => $INFO['client'], ); |