mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Add check for passwordstatus
This commit is contained in:
@@ -565,7 +565,7 @@ class XML_Response
|
||||
"\t<li>Poster: {$this->release->fromname}</li>\n".
|
||||
"\t<li>Posted: {$this->release->postdate}</li>\n";
|
||||
|
||||
$pstatus = match ($this->release->passwordstatus) {
|
||||
$pstatus = match ($this->release->passwordstatus ?? 0) {
|
||||
0 => 'None',
|
||||
1 => 'Possibly Passworded',
|
||||
2 => 'Probably not viable',
|
||||
|
||||
Reference in New Issue
Block a user