mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Merged some fixes from new-attachments
branch (#1700)
* Merged some fixes from `new-attachments` branch * Update CHANGELOG.md
This commit is contained in:
parent
24e1658078
commit
83b465ddd2
9 changed files with 13 additions and 10 deletions
|
@ -355,7 +355,7 @@ switch ($mode) {
|
|||
case 'set_download':
|
||||
case 'unset_download':
|
||||
$set_download = ($mode == 'set_download');
|
||||
$new_dl_type = ($set_download) ? TOPIC_DL_TYPE_DL : TOPIC_DL_TYPE_NORMAL;
|
||||
$new_dl_type = $set_download ? TOPIC_DL_TYPE_DL : TOPIC_DL_TYPE_NORMAL;
|
||||
|
||||
DB()->query("
|
||||
UPDATE " . BB_TOPICS . " SET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue