parity_history: code optimization

This commit is contained in:
bergware
2024-02-05 10:30:14 +01:00
parent 7c033ddc15
commit 6428747c77

View File

@@ -63,7 +63,6 @@ if (file_exists($log)) {
}
fclose($handle);
}
if (!$list) $list[] = "<tr><td colspan='7' style='text-align:center;padding-top:12px'>"._('No parity check history present')."!</td></tr>";
echo implode($list);
echo $list ? implode($list) : "<tr><td colspan='7' style='text-align:center;padding-top:12px'>"._('No parity check history present')."!</td></tr>";
?>
</table>