From 16bca3c6653313ed9a53cfdb36691dad8b13215c Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Sat, 20 Mar 2010 14:50:58 +0000 Subject: [PATCH] - don't show empty line in commands for webserver is no deactivated-root-dir is set (and therefore no command is shown but an empty line) --- admin_configfiles.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin_configfiles.php b/admin_configfiles.php index 4fadeb9f..92629834 100644 --- a/admin_configfiles.php +++ b/admin_configfiles.php @@ -111,6 +111,7 @@ if($userinfo['change_serversettings'] == '1') if(is_array($value)) { $commands = implode("\n", $value); + $commands = str_replace("\n\n", "\n", $commands); if($commands != '') {