diff --git a/lib/classes/patch/320f.php b/lib/classes/patch/320f.php index 54f20f220b..cf2ead259e 100644 --- a/lib/classes/patch/320f.php +++ b/lib/classes/patch/320f.php @@ -141,9 +141,9 @@ class patch_320f implements patchInterface $stmt = $appbox->get_connection()->prepare($sql); $stmt->execute(array(':ssel_id' => $row['ssel_id'])); $stmt->closeCursor(); + $app['EM']->persist($feed); } $this->set_feed_dates($date_ref); - $app['EM']->persist($feed); $app['EM']->flush(); return true;