mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Update Releases passworded releases check for pages
This commit is contained in:
@@ -179,8 +179,8 @@ class Releases
|
||||
*/
|
||||
public static function showPasswords()
|
||||
{
|
||||
$setting = Settings::settingValue('..showpasswordedrelease');
|
||||
$setting = ($setting !== null && is_numeric($setting)) ? $setting : 10;
|
||||
$setting = (int) Settings::settingValue('..showpasswordedrelease');
|
||||
$setting = $setting ?? 10;
|
||||
switch ($setting) {
|
||||
case 0: // Hide releases with a password or a potential password (Hide unprocessed releases).
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
2018-07-16 DariusIII
|
||||
* CHg: Remove unused collectionCheck function from switch.php
|
||||
* Chg: Update Releases passworded releases check for pages
|
||||
* Chg: Remove unused collectionCheck function from switch.php
|
||||
* Chg: Update various scripts in misc folder
|
||||
* Chg: Update sphinx tables creation scripts
|
||||
* Chg: Update used libraries to latest versions
|
||||
|
||||
Reference in New Issue
Block a user