Last update before closing project. Thank you!
git-svn-id: https://svn.pioder.pl/uf-svn/uF@38 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
@@ -80,14 +80,14 @@ class NewMessage
|
||||
function AddToInbox($text, $name, $unid, $uid)
|
||||
{
|
||||
$last = DataBase::new_id(PM_INBOX_TABLE);
|
||||
$time = time();
|
||||
$time = $_SERVER['REQUEST_TIME'];
|
||||
$sql = "INSERT INTO `".PM_INBOX_TABLE."` VALUES ('$last', '$uid', '$name', '$text', '$time', '$unid','0')";
|
||||
DataBase::sql_query($sql,GENERAL,'Could not add new message at inbox');
|
||||
}
|
||||
function AddToSentbox($text, $name, $unid, $uid)
|
||||
{
|
||||
$last=DataBase::new_id(PM_SENTBOX_TABLE);
|
||||
$time = time();
|
||||
$time = $_SERVER['REQUEST_TIME'];
|
||||
$sql = "INSERT INTO `".PM_SENTBOX_TABLE."` VALUES ('$last', '$uid', '$name', '$text', '$time', '$unid')";
|
||||
DataBase::sql_query($sql,GENERAL,'Could not add new message at inbox');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user