mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 02:08:57 +00:00
Fix wrong categorization.
This commit is contained in:
@@ -2266,7 +2266,7 @@ Class ProcessAdditional
|
||||
}
|
||||
|
||||
// Get a new category ID.
|
||||
$newCategory = $this->_categorize->determineCategory($newName, $this->_release['groupID']);
|
||||
$newCategory = $this->_categorize->determineCategory($this->_release['groupID'], $newName);
|
||||
|
||||
$newTitle = $this->pdo->escapeString(substr($newName, 0, 255));
|
||||
// Update the release with the data.
|
||||
|
||||
@@ -601,7 +601,7 @@ class ProcessReleases
|
||||
'postdate' => $this->pdo->escapeString($collection['date']),
|
||||
'fromname' => $fromName,
|
||||
'size' => $collection['filesize'],
|
||||
'categoryID' => $categorize->determineCategory($cleanedName, $collection['group_id']),
|
||||
'categoryID' => $categorize->determineCategory($collection['group_id'], $cleanedName),
|
||||
'isrenamed' => ($properName === true ? 1 : 0),
|
||||
'reqidstatus' => ($isReqID === true ? 1 : 0),
|
||||
'prehashID' => ($preID === false ? 0 : $preID),
|
||||
|
||||
Reference in New Issue
Block a user