mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Fix #1309 : Stories can not be removed
This commit is contained in:
@@ -452,7 +452,7 @@ class databox extends base
|
||||
$n+=50;
|
||||
}
|
||||
|
||||
foreach ($this->app['EM']->getRepository('\Entities\StoryWZ')->findByDatabox($this) as $story) {
|
||||
foreach ($this->app['EM']->getRepository('\Entities\StoryWZ')->findByDatabox($this->app, $this) as $story) {
|
||||
$this->app['EM']->remove($story);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user