Skip to content

Commit 16e017f

Browse files
committed
Fix filter
1 parent a5b65b4 commit 16e017f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class/deploymentserver.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ public function getLastBackupDate($mode = '')
11561156
$sql .= " WHERE ce.fk_object = c.rowid";
11571157
$sql .= " AND ce.deployment_status IN ('done', 'processing')";
11581158
$sql .= " AND ce.deployment_host = '".$this->db->escape($this->ipaddress)."'";
1159-
$sql .= " AND ce.suspendmaintenance_message NOT LIKE 'http%'"; // Not a redirection instance
1159+
$sql .= " AND (ce.suspendmaintenance_message IS NULL OR ce.suspendmaintenance_message NOT LIKE 'http%')"; // Not a redirection instance
11601160
$sql .= " GROUP BY ce.latestbackup".$mode."_status";
11611161

11621162
$resql = $this->db->query($sql);

0 commit comments

Comments
 (0)