diff --git a/app/Http/Controllers/Api/XML_Response.php b/app/Http/Controllers/Api/XML_Response.php index e6df7e590..61b7b7365 100644 --- a/app/Http/Controllers/Api/XML_Response.php +++ b/app/Http/Controllers/Api/XML_Response.php @@ -565,7 +565,7 @@ class XML_Response "\t
  • Poster: {$this->release->fromname}
  • \n". "\t
  • Posted: {$this->release->postdate}
  • \n"; - $pstatus = match ($this->release->passwordstatus) { + $pstatus = match ($this->release->passwordstatus ?? 0) { 0 => 'None', 1 => 'Possibly Passworded', 2 => 'Probably not viable',