mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
[SearchEngine] Fix typo
This commit is contained in:
@@ -63,10 +63,10 @@ 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']);
|
||||
$sql = sprintf('ALTER TABLE Sessions AUTO_INCREMENT = %d', $row['Auto_increment']);
|
||||
$app['phraseanet.appbox']->get_connection()->exec($sql);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user