* forums.moderators - removed NULL
This commit is contained in:
parent
c7891988a9
commit
4955257010
2 changed files with 2 additions and 1 deletions
|
@ -384,6 +384,7 @@ class Forums extends Admin
|
|||
if (empty($args['id'])) {
|
||||
$message = 'Forum added redirect';
|
||||
$forum->disp_position = $this->forumPos($forum);
|
||||
$forum->moderators = '';
|
||||
$this->c->forums->insert($forum);
|
||||
} else {
|
||||
$message = 'Forum updated redirect';
|
||||
|
|
|
@ -567,7 +567,7 @@ class Install extends Page
|
|||
'forum_name' => ['VARCHAR(80)', false, 'New forum'],
|
||||
'forum_desc' => ['TEXT', false],
|
||||
'redirect_url' => ['VARCHAR(255)', false, ''],
|
||||
'moderators' => ['TEXT', true],
|
||||
'moderators' => ['TEXT', false],
|
||||
'num_topics' => ['MEDIUMINT(8) UNSIGNED', false, 0],
|
||||
'num_posts' => ['MEDIUMINT(8) UNSIGNED', false, 0],
|
||||
'last_post' => ['INT(10) UNSIGNED', true],
|
||||
|
|
Loading…
Add table
Reference in a new issue