fix missing n

pull/236/head
Isaac Connor 2013-10-17 17:01:37 -04:00
parent 09fbdc9e35
commit 60e2703637
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ class Logger
$dbLine = is_null($line)?'NULL':dbEscape($line);
try {
global $dbCon;
global $dbConn;
$sql = "INSERT INTO Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( ?, ?, ?, ?, ?, ?, ?, ? )";
$stmt = $dbConn->prepare( $sql );
$result = $stmt->execute( array( sprintf( "%d.%06d", $time['sec'], $time['usec'] ), dbEscape($this->id), getmypid(), dbEscape($level), dbEscape($code), dbEscape($string), $dbFile, $dbLine ) );