Commit f2efe6fc authored by Clouard Regis's avatar Clouard Regis
Browse files

Fix bug on remove course

parent 8cd3ba35
......@@ -128,7 +128,9 @@ class Course
public function remove(ObjectManager $entityManager)
if (file_exists($this->image)) unlink($this->image);
if (file_exists($this->image)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment