[SearchEngine] Fix typo

This commit is contained in:
Romain Neutron
2012-10-20 16:23:23 +02:00
parent 7a49940323
commit f80a5386e1

View File

@@ -63,7 +63,7 @@ class patch_3802 implements patchInterface
$stmt = $app['phraseanet.appbox']->get_connection()->prepare($sql);
$stmt->execute();
$row = $stmt->fetch(\PDO::FETCH_ASSOC);
$stmt->closeCurosr();
$stmt->closeCursor();
if ($row['Auto_increment']) {
$sql = sprintf('ALTER TABLE Sessions AUTO_INCREMENT = %d', $row['Auto_increment']);