mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
SubmitNews: Added USERID to table.
This commit is contained in:
parent
d075e4807e
commit
bba40d458c
@ -467,6 +467,7 @@ CREATE TABLE submitnews (
|
||||
submitnews_id int(10) unsigned NOT NULL auto_increment,
|
||||
submitnews_name varchar(100) NOT NULL default '',
|
||||
submitnews_email varchar(100) NOT NULL default '',
|
||||
submitnews_user int(10) unsigned NOT NULL default '0',
|
||||
submitnews_title varchar(200) NOT NULL default '',
|
||||
submitnews_category tinyint(3) unsigned NOT NULL default '0',
|
||||
submitnews_item text NOT NULL,
|
||||
|
@ -178,6 +178,7 @@ class submitNews
|
||||
'submitnews_id' => 0,
|
||||
'submitnews_name' => $submitnews_user,
|
||||
'submitnews_email' => $submitnews_email,
|
||||
'submitnews_user' => USERID,
|
||||
'submitnews_title' => $submitnews_title,
|
||||
'submitnews_category' => intval($_POST['cat_id']),
|
||||
'submitnews_item' => $submitnews_item,
|
||||
|
Loading…
x
Reference in New Issue
Block a user