Ensure isWashCertificate check is case-insensitive in attachment.php

This commit is contained in:
Jeppe Bundgaard
2026-02-16 15:32:37 +01:00
parent 1791a62992
commit e6358d09fc
@@ -48,6 +48,6 @@ class attachment
public function isWashCertificate(): bool
{
return isset($this->content->other) && $this->content->other === 'wash_certificate';
return isset($this->content->other) && strtolower($this->content->other) === 'wash_certificate';
}
}