ok, fixed stripslashes in static too

This commit is contained in:
real_nowhereman 2008-06-28 08:34:21 +00:00
parent 98914dcc5c
commit 15bcdb932b

View File

@ -84,8 +84,8 @@
function _getposteddata() { function _getposteddata() {
$arr['version'] = system_ver(); $arr['version'] = system_ver();
$arr['subject'] = stripslashes($_POST['subject']); $arr['subject'] = ($_POST['subject']);
$arr['content'] = stripslashes($_POST['content']); $arr['content'] = ($_POST['content']);
$author = user_get(); $author = user_get();
$arr['author'] = $author['userid']; $arr['author'] = $author['userid'];
$arr['date'] = !empty($_POST['timestamp'])?$_POST['timestamp']:date_time(); $arr['date'] = !empty($_POST['timestamp'])?$_POST['timestamp']:date_time();