Commit 7b696e1f authored by Adam Wujek's avatar Adam Wujek 💬

www: fix spliting output from wr_date in WR Monitoring

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 11a0c28d
......@@ -36,7 +36,8 @@ function getTiming(){
#Obtain wr date
function getWrDate(){
$wr_date = str_replace("\n","<br>", shell_exec("/wr/bin/wr_date -n get |tail -2"));
$wr_date = shell_exec("/wr/bin/wr_date -n get |tail -2");
$wr_date = explode("\n", $wr_date);
return $wr_date;
}
......
Markdown is supported
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