diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 2aae62f..fda888e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,11 +2,11 @@ Next release ============ Features and enhancements +- #2532222 - Allow spreadsheet source data on a row different that 1. - #1406802 - Add callback() field mapping method, to pass additional arguments to callbacks. - #2516828 - Add mdreg alias for migrate-deregister. - #2504517 - Add timezone handling to timestamp(). -- #2532222 - Allow spreadsheet source data on a row different that 1. Migrate 2.8 =========== diff --git a/plugins/sources/spreadsheet.inc b/plugins/sources/spreadsheet.inc index c3ba3b1..1c00955 100644 --- a/plugins/sources/spreadsheet.inc +++ b/plugins/sources/spreadsheet.inc @@ -203,7 +203,7 @@ class MigrateSourceSpreadsheet extends MigrateSource { */ public function computeCount() { // Subtract the non-data rows (rows before header and the header). - return $this->rows - $this->headerRows + 1; + return $this->rows - $this->headerRows - 1; } /**