fixed invoice_file filter in InvoiceModel

This commit is contained in:
Frank Schubert
2024-09-01 19:11:33 +02:00
parent e770f32bc3
commit 3d749800c0

View File

@@ -371,7 +371,7 @@ class InvoiceModel {
if($invoice_file === true) {
$where .= " AND InvoiceFile.id > 0'";
} elseif($invoice_file === false || $invoice_file === null) {
$where .= " AND InvoiceFile.id IS NOT NULL";
$where .= " AND InvoiceFile.id IS NULL";
}
}