Change all "AND" / "OR" to && / ||

This commit is contained in:
Marcus Hill
2022-04-14 18:40:51 +01:00
parent ea041a0371
commit ca629801af
35 changed files with 86 additions and 86 deletions

View File

@@ -117,7 +117,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$category_name = $row['category_name'];
$now = time();
if(($invoice_status == "Sent" or $invoice_status == "Partial" or $invoice_status == "Viewed") and strtotime($invoice_due) < $now ){
if(($invoice_status == "Sent" || $invoice_status == "Partial" || $invoice_status == "Viewed") && strtotime($invoice_due) < $now ){
$overdue_color = "text-danger font-weight-bold";
}else{
$overdue_color = "";