We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b65b4 commit 16e017fCopy full SHA for 16e017f
class/deploymentserver.class.php
@@ -1156,7 +1156,7 @@ public function getLastBackupDate($mode = '')
1156
$sql .= " WHERE ce.fk_object = c.rowid";
1157
$sql .= " AND ce.deployment_status IN ('done', 'processing')";
1158
$sql .= " AND ce.deployment_host = '".$this->db->escape($this->ipaddress)."'";
1159
- $sql .= " AND ce.suspendmaintenance_message NOT LIKE 'http%'"; // Not a redirection instance
+ $sql .= " AND (ce.suspendmaintenance_message IS NULL OR ce.suspendmaintenance_message NOT LIKE 'http%')"; // Not a redirection instance
1160
$sql .= " GROUP BY ce.latestbackup".$mode."_status";
1161
1162
$resql = $this->db->query($sql);
0 commit comments