Fixed feed error in patch 320f

This commit is contained in:
Andrey
2013-06-18 09:36:46 +02:00
parent 56a8aa33f8
commit d40a6c0a0d

View File

@@ -141,9 +141,9 @@ class patch_320f implements patchInterface
$stmt = $appbox->get_connection()->prepare($sql); $stmt = $appbox->get_connection()->prepare($sql);
$stmt->execute(array(':ssel_id' => $row['ssel_id'])); $stmt->execute(array(':ssel_id' => $row['ssel_id']));
$stmt->closeCursor(); $stmt->closeCursor();
$app['EM']->persist($feed);
} }
$this->set_feed_dates($date_ref); $this->set_feed_dates($date_ref);
$app['EM']->persist($feed);
$app['EM']->flush(); $app['EM']->flush();
return true; return true;