(dev/core#1740) Cumulative contributions not being calculated with the correct criteria
[civicrm-core.git] / CRM / Import / Parser.php
index 8eba240474dc70b7b14adbe803f6114a13025b22..bfe559191dc5e985a41d1a7178ee36e468284317 100644 (file)
@@ -335,7 +335,7 @@ abstract class CRM_Import_Parser {
       file_put_contents($statusFile, $contents);
     }
     else {
-      $rowCount = isset($this->_rowCount) ? $this->_rowCount : $this->_lineCount;
+      $rowCount = $this->_rowCount ?? $this->_lineCount;
       $currTimestamp = time();
       $totalTime = ($currTimestamp - $startTimestamp);
       $time = ($currTimestamp - $prevTimestamp);