mirror of
https://github.com/unraid/webgui.git
synced 2026-03-14 06:51:27 -05:00
Merge pull request #150 from bergware/6.4-wip
Fixed remove linefeed from parity notification report
This commit is contained in:
@@ -83,7 +83,7 @@ function read_write_parity_log($epoch,$duration,$speed,$status,$error) {
|
||||
$line = "$year $timestamp|$duration|$speed|$status|$error";
|
||||
if ($status==0||file_exists($log)) file_put_contents($log,"$line\n",FILE_APPEND);
|
||||
}
|
||||
return $line;
|
||||
return str_replace("\n","",$line);
|
||||
}
|
||||
function check_temp($name,$temp,$text,$info) {
|
||||
global $notify,$disks,$saved,$unraid,$server;
|
||||
|
||||
Reference in New Issue
Block a user