Commit 06cad237 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fixes #8035: Missing sql.log: throws an error

parent eaf74c12
......@@ -76,6 +76,7 @@ class Logger {
// If open fails, maybe the directory does not exist. Create it:
self::logMessage($msg, $filename, $mode, true);
if (fwrite($handle, $msg . PHP_EOL) === false) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment