diff --git a/modules/tracker/models/pdo/SubmissionModel.php b/modules/tracker/models/pdo/SubmissionModel.php index 2f0a02752..2dc9c60ee 100644 --- a/modules/tracker/models/pdo/SubmissionModel.php +++ b/modules/tracker/models/pdo/SubmissionModel.php @@ -169,7 +169,7 @@ public function getLatestSubmissionByProducerDateAndBranch($producerDao, $date = if ($date) { $queryTime = date('Y-m-d H:i:s', strtotime($date)); } else { - $queryTime = date('Y-m-d', time()) . '23:59:59'; + $queryTime = date('Y-m-d', time()).'23:59:59'; } $dayBeforeQueryTime = date('Y-m-d H:i:s', strtotime($queryTime) - self::SEC_IN_DAY); $sql = $this->database->select()->setIntegrityCheck(false)