Skip to content

Instantly share code, notes, and snippets.

@McFateM
Created August 24, 2017 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save McFateM/46c1711a45e4511f4fd25506873af319 to your computer and use it in GitHub Desktop.
Save McFateM/46c1711a45e4511f4fd25506873af319 to your computer and use it in GitHub Desktop.
Lines 6-11 added to IMI Utilities.inc to partially satisfy https://github.com/mnylc/islandora_multi_importer/issues/15
if (strlen($flat)==0) {
$maxRow = $rowindex;
// @TODO check if this is not being overriden at line 64
break;
}
// MAM...if a row begins with a hashtag, it's a comment...skip it
// This partially addresses https://github.com/mnylc/islandora_multi_importer/issues/15
if ($flat[0] != '#') {
$table[$rowindex] = $row[0];
$maxRow = $rowindex;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment