diff --git a/scripts/pi-hole/php/savesettings.php b/scripts/pi-hole/php/savesettings.php
index 7a532fa8..c33a18a0 100644
--- a/scripts/pi-hole/php/savesettings.php
+++ b/scripts/pi-hole/php/savesettings.php
@@ -738,7 +738,7 @@ function readAdlists()
// Flush network table
case "flusharp":
exec("sudo pihole arpflush quiet", $output);
- $error = implode($output, "
");
+ $error = implode("
", $output);
if(strlen($error) == 0)
{
$success .= "The network table has been flushed";