From b4bc4b029d280b0f7b38b244c88d6b663d1377b3 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Sat, 1 May 2010 03:38:03 +0200 Subject: [PATCH] Fix DDC-560 --- manual/en/dbal.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/en/dbal.txt b/manual/en/dbal.txt index 452f45646..d2fb8ebf3 100644 --- a/manual/en/dbal.txt +++ b/manual/en/dbal.txt @@ -72,8 +72,8 @@ Doctrine is already shipped with two implementations for the "PostConnect" event You can register events by subscribing them to the `EventManager` instance passed to the Connection factory: [php] - $evm = new EventManager(), - $evm->addEventSubscriber(new MysqlSessionInit('UTF-8')); + $evm = new EventManager(); + $evm->addEventSubscriber(new MysqlSessionInit('UTF8')); $conn = DriverManager::getConnection($connectionParams, null, $evm);