X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FImport%2FParser.php;h=bfe559191dc5e985a41d1a7178ee36e468284317;hb=4679010f660bd67e42e0c9911a4be920f0899020;hp=8eba240474dc70b7b14adbe803f6114a13025b22;hpb=41de5d4a9d8bc932899308987824131a7b41a838;p=civicrm-core.git diff --git a/CRM/Import/Parser.php b/CRM/Import/Parser.php index 8eba240474..bfe559191d 100644 --- a/CRM/Import/Parser.php +++ b/CRM/Import/Parser.php @@ -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);