From d40a6c0a0de41be0b2f9c83cacb402a2ae99e926 Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 18 Jun 2013 09:36:46 +0200 Subject: [PATCH] Fixed feed error in patch 320f --- lib/classes/patch/320f.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;