Skip to content

Commit 56f5cb0

Browse files
Update app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php
Co-authored-by: Colin Mollenhour <colin@mollenhour.com>
1 parent db60d01 commit 56f5cb0

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/ImportExport/Model/Resource/Helper

1 file changed

+1
-1
lines changed

app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getNextAutoincrement($tableName)
5858

5959
$sql = sprintf(
6060
'SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = %s AND TABLE_SCHEMA = DATABASE()',
61-
$this->quote($tableName)
61+
$connection->quote($tableName)
6262
);
6363
$entityStatus = $connection->fetchRow($sql);
6464
if (empty($entityStatus['AUTO_INCREMENT'])) {

0 commit comments

Comments
 (0)