Skip to content

Commit

Permalink
Allows PopulateMergeMatch to run with Images
Browse files Browse the repository at this point in the history
  • Loading branch information
davejtoews committed Sep 19, 2022
1 parent fca8c87 commit f5a4ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/PopulateFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private function populateFile($data)
$hash = $existingObj->File->getHash();

if (hash_equals($hash, sha1(file_get_contents($fixtureFilePath)))) {
return true;
return $file;
}
} else {
// Create instance of file data object based on the extension of the fixture file
Expand Down

0 comments on commit f5a4ac9

Please sign in to comment.