Convert all tags to lowercase.

Fixes #41
This commit is contained in:
Tim Schumacher 2015-03-22 09:38:28 +01:00
parent 175f99809d
commit 9877b70ef9

View file

@ -351,7 +351,7 @@ class EventController extends Controller
$tags = $request->get('tags');
if (strlen($tags) > 0) {
$tags = explode(',', $tags);
$tags = explode(',', strtolower($tags));
$em = $this->getDoctrine()->getManager();
$repo = $em->getRepository('CalciferBundle:Tag');
$entity->clearTags();