diff --git a/library/includes/cron/jobs/demo_mode.php b/library/includes/cron/jobs/demo_mode.php index d7c37d97c..ea5c90b5f 100644 --- a/library/includes/cron/jobs/demo_mode.php +++ b/library/includes/cron/jobs/demo_mode.php @@ -42,10 +42,10 @@ foreach ($sql_dump as $line) { $temp_line .= $line; if (str_ends_with(trim($line), ';')) { if (!DB()->query($temp_line)) { - $cron_runtime_log = date('Y-m-d H:i:s') . "Error performing query: " . $temp_line . " | " . DB()->sql_error()['message']; + $cron_runtime_log = date('Y-m-d H:i:s') . " -- Error performing query: " . $temp_line . " | " . DB()->sql_error()['message'] . "\n"; } $temp_line = ''; } } -$cron_runtime_log = date('Y-m-d H:i:s') . " -- Tables imported successfully!"; +$cron_runtime_log = date('Y-m-d H:i:s') . " -- Tables imported successfully!\n";