mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Fix #1457 : EntityManager:clear should not be called in a controller
This commit is contained in:
@@ -56,7 +56,7 @@ class patch_3805 implements patchInterface
|
||||
$rs = $stmt->fetchAll(\PDO::FETCH_ASSOC);
|
||||
$stmt->closeCursor();
|
||||
|
||||
$n = 0;
|
||||
$n = 1;
|
||||
|
||||
foreach ($rs as $row) {
|
||||
$date = Datetime::createFromFormat('Y-m-d h:i:s', $row['date']);
|
||||
|
Reference in New Issue
Block a user