mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
Fix wrong type check for file size.
This commit is contained in:
@@ -349,12 +349,12 @@ class ProcessAdditional
|
||||
// Maximum size of releases in GB.
|
||||
$this->_maxSize =
|
||||
(string)($this->site->maxsizetopostprocess != '') ? $this->site->maxsizetopostprocess : 100;
|
||||
$this->_maxSize = ($this->_maxSize === 0 ? '' : 'AND r.size < ' . ($this->_maxSize * 1073741824));
|
||||
$this->_maxSize = ($this->_maxSize == 0 ? '' : 'AND r.size < ' . ($this->_maxSize * 1073741824));
|
||||
|
||||
// Minimum size of releases in MB.
|
||||
$this->_minSize =
|
||||
(string)($this->site->minsizetopostprocess != '') ? $this->site->minsizetopostprocess : 1;
|
||||
$this->_minSize = ($this->_minSize === 0 ? '' : 'AND r.size > ' . ($this->_minSize * 1048576));
|
||||
$this->_minSize = ($this->_minSize == 0 ? '' : 'AND r.size > ' . ($this->_minSize * 1048576));
|
||||
|
||||
// Use the alternate NNTP provider for downloading Message-ID's ?
|
||||
$this->_alternateNNTP = ($this->site->alternate_nntp == 1 ? true : false);
|
||||
|
||||
Reference in New Issue
Block a user