From 64994ed50bf27f21ec4a17c241f72bc333ed1afe Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Wed, 20 Feb 2019 09:00:24 +0000 Subject: [PATCH] Use transaction to add mapping to the DB --- parse.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/parse.php b/parse.php index 8e0bb4c..f438ba6 100644 --- a/parse.php +++ b/parse.php @@ -90,7 +90,7 @@ if(is_array($previousMapping)) { $logger->info('Merging previous data with current mapping'); - $mapping = $previousMapping + $mapping; + $mapping = $mapping + $previousMapping; ksort($mapping); } -- Gitblit v1.9.1