From 80289b1a7147c833cc31a76d95db9028a50e50d6 Mon Sep 17 00:00:00 2001 From: brantje Date: Sat, 8 Oct 2016 00:05:08 +0200 Subject: [PATCH] Fix travis errors in CronService --- lib/Service/CronService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/CronService.php b/lib/Service/CronService.php index 9703469b..dd4aa085 100644 --- a/lib/Service/CronService.php +++ b/lib/Service/CronService.php @@ -46,7 +46,7 @@ class CronService { $query->bindParam(1, $id, \PDO::PARAM_INT); $result = $query->execute(); $this->logger->debug($credential->getLabel() .' is expired, checking notifications!', array('app' => 'passman')); - if($result->fetchRow()['rows'] == 0) { + if($result->fetchRow()['rows'] === 0) { $this->logger->debug($credential->getLabel() .' is expired, adding notification!', array('app' => 'passman')); $this->activityService->add(