1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 06:52:34 +01:00

Merge pull request #49 from havvg/patch-1

switch initialized state in example handler
This commit is contained in:
Jordi Boggiano 2011-11-18 06:57:36 -08:00
commit 30396e97c1

View File

@ -54,6 +54,8 @@ class PDOHandler extends AbstractProcessingHandler
$this->statement = $this->pdo->prepare( $this->statement = $this->pdo->prepare(
'INSERT INTO monolog (channel, level, message, time) VALUES (:channel, :level, :message, :time)' 'INSERT INTO monolog (channel, level, message, time) VALUES (:channel, :level, :message, :time)'
); );
$this->initialized = true;
} }
} }
``` ```