Fix travis errors in CronService

This commit is contained in:
brantje 2016-10-08 00:05:08 +02:00
parent ea8ee93efd
commit 80289b1a71
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -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(