diff --git a/doctrine.rst b/doctrine.rst index eae1a934b5d..311a60b3d78 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -527,7 +527,7 @@ a controller, this is pretty easy. Add the following method to the { $doctrine = $this->getDoctrine(); $em = $doctrine->getManager(); - $em2 = $doctrine->getManager('other_connection') + $em2 = $doctrine->getManager('other_connection'); } .. note::