mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33: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 = $app['phraseanet.appbox']->get_connection()->prepare($sql);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$row = $stmt->fetch(\PDO::FETCH_ASSOC);
|
$row = $stmt->fetch(\PDO::FETCH_ASSOC);
|
||||||
$stmt->closeCurosr();
|
$stmt->closeCursor();
|
||||||
|
|
||||||
if ($row['Auto_increment']) {
|
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);
|
$app['phraseanet.appbox']->get_connection()->exec($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user