"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "matomo/core/DataTable/Filter/PivotByDimension.php" between
matomo-4.4.0-rc1.tar.gz and matomo-4.4.0-rc2.tar.gz

About: Matomo is a web analytics platform that aims to be an open source alternative to Google Analytics that let you retain ownership and control over your data (formerly Piwik). Release candidate.

PivotByDimension.php  (matomo-4.4.0-rc1):PivotByDimension.php  (matomo-4.4.0-rc2)
skipping to change at line 352 skipping to change at line 352
private function setThisReportMetadata($report) private function setThisReportMetadata($report)
{ {
if (is_string($report)) { if (is_string($report)) {
list($module, $action) = explode('.', $report); list($module, $action) = explode('.', $report);
$report = ReportsProvider::factory($module, $action); $report = ReportsProvider::factory($module, $action);
if (empty($report)) { if (empty($report)) {
throw new \Exception("Unable to find report '$module.$action'.") ; throw new \Exception("Unable to find report '$module.$action'.") ;
} }
} }
if (empty($report)) {
throw new \Exception("This report does not support pivot.");
}
$this->thisReport = $report; $this->thisReport = $report;
$this->subtableDimension = $this->thisReport->getSubtableDimension(); $this->subtableDimension = $this->thisReport->getSubtableDimension();
$thisReportDimension = $this->thisReport->getDimension(); $thisReportDimension = $this->thisReport->getDimension();
if ($thisReportDimension !== null) { if ($thisReportDimension !== null) {
$segments = $thisReportDimension->getSegments(); $segments = $thisReportDimension->getSegments();
$this->thisReportDimensionSegment = reset($segments); $this->thisReportDimensionSegment = reset($segments);
} }
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)