diff --git a/Model/Sync.php b/Model/Sync.php index 2a66a9b..3db29fb 100644 --- a/Model/Sync.php +++ b/Model/Sync.php @@ -264,7 +264,7 @@ public function templateRead($templateDb) $update->bindParam(3, $lastModified); $update->execute(); - $countQuery = $noneDb->query('SELECT changes()'); + $countQuery = $db->query('SELECT changes()'); $updateCount = (int)$countQuery->fetchColumn(); $countQuery->closeCursor(); diff --git a/composer.json b/composer.json index 4264d22..1573187 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name" : "codisto/codisto-connect", "description" : "Codisto LINQ Magento 2 Extension", "type" : "magento2-module", - "version" : "1.91.39", + "version" : "1.91.40", "license" : [ "OSL-3.0" ], diff --git a/etc/module.xml b/etc/module.xml index 7f5b3b2..1f2d786 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -22,6 +22,6 @@ --> - +