Ensure isWashCertificate check is case-insensitive in attachment.php
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user