From e132723475468614c8e99d2d32898869a12afdaf Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Fri, 20 Feb 2015 11:56:24 +0100 Subject: [PATCH] PDOStatement::rowCount is a function Signed-off-by: Michael Kaufmann (d00p) --- lib/classes/integrity/class.IntegrityCheck.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/classes/integrity/class.IntegrityCheck.php b/lib/classes/integrity/class.IntegrityCheck.php index b00a65ca..bf330760 100644 --- a/lib/classes/integrity/class.IntegrityCheck.php +++ b/lib/classes/integrity/class.IntegrityCheck.php @@ -287,7 +287,7 @@ class IntegrityCheck { "); Database::pexecute($cwg_stmt, array('webserveruser' => Settings::Get('system.httpuser'))); - if ($cwg_stmt->rowCount > 0) { + if ($cwg_stmt->rowCount() > 0) { $this->_log->logAction(ADM_ACTION, LOG_NOTICE, "Customers are missing the webserver-user as group-member, integrity-check can fix that"); if ($fix) { // prepare update statement @@ -350,7 +350,7 @@ class IntegrityCheck { "); Database::pexecute($cwg_stmt, array('localuser' => $localuser)); - if ($cwg_stmt->rowCount > 0) { + if ($cwg_stmt->rowCount() > 0) { $this->_log->logAction(ADM_ACTION, LOG_NOTICE, "Customers are missing the local froxlor-user as group-member, integrity-check can fix that"); if ($fix) { // prepare update statement