Fix #1457 : EntityManager:clear should not be called in a controller

This commit is contained in:
Romain Neutron
2013-09-11 16:02:55 +02:00
parent 56eb725b80
commit a7b36af01a
3 changed files with 52 additions and 11 deletions

View File

@@ -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']);