mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix wrong typecasting of database settings in Categorize class
This commit is contained in:
@@ -56,8 +56,8 @@ class Categorize extends Category
|
||||
public function __construct(array $options = [])
|
||||
{
|
||||
parent::__construct($options);
|
||||
$this->categorizeForeign = (int) Settings::settingValue('indexer.categorise.categorizeforeign');
|
||||
$this->catWebDL = (int) Settings::settingValue('indexer.categorise.catwebdl');
|
||||
$this->categorizeForeign = (bool) Settings::settingValue('indexer.categorise.categorizeforeign');
|
||||
$this->catWebDL = (bool) Settings::settingValue('indexer.categorise.catwebdl');
|
||||
$this->regexes = new Regexes(['Table_Name' => 'category_regexes']);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
2018-03-15 DariusIII
|
||||
* Fix: Fix wrong typecasting of database settings in Categorize class
|
||||
* Chg: Update Binaries class, fix issues pointed out by scrutinizer
|
||||
* Chg: Update Movie class, fix some of the issues pointed out by scrutinizer
|
||||
* Chg: Add back js defining variables to themes
|
||||
|
||||
Reference in New Issue
Block a user