Skip to content
Snippets Groups Projects
Commit 8dd1ca3b authored by ojohansson's avatar ojohansson Committed by Chris Leppanen
Browse files

Issue #1848726 by ojohansson, twistor: Fixed Hash check fails when running...

Issue #1848726 by ojohansson, twistor: Fixed Hash check fails when running multiple importers on cron.
parent 3cf2de43
No related branches found
No related tags found
No related merge requests found
......@@ -763,11 +763,7 @@ abstract class FeedsProcessor extends FeedsPlugin {
* Empty/NULL/FALSE strings return d41d8cd98f00b204e9800998ecf8427e
*/
protected function hash($item) {
static $serialized_mappings;
if (!$serialized_mappings) {
$serialized_mappings = serialize($this->config['mappings']);
}
return hash('md5', serialize($item) . $serialized_mappings);
return hash('md5', serialize($item) . serialize($this->config['mappings']));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment