Vote button code improvements (#1146)

* Vote button code improvements

* Updated

* Update viewtopic_attach.tpl
This commit is contained in:
Roman Kelesidis 2023-11-21 09:14:11 +07:00 committed by GitHub
commit 2c46a01fdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 21 deletions

View file

@ -1476,7 +1476,7 @@ CREATE TABLE IF NOT EXISTS `bb_thx`
`topic_id` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
`user_id` MEDIUMINT(8) NOT NULL DEFAULT '0',
`time` INT(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`topic_id`)
PRIMARY KEY (`topic_id`, `user_id`)
)
ENGINE = MyISAM
DEFAULT CHARSET = utf8;