From 8547c8fb97483884f52ff27f02680d11b71f254b Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 15 Jul 2015 11:37:45 +0200 Subject: [PATCH] interfaces: /tmp/reload_interfaces is never written --- src/www/interfaces_assign.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/www/interfaces_assign.php b/src/www/interfaces_assign.php index 9845d8c02..14ada5be1 100644 --- a/src/www/interfaces_assign.php +++ b/src/www/interfaces_assign.php @@ -424,15 +424,13 @@ include("head.inc");
\n"; - print_info_box_np(gettext("The interface configuration has been changed.
You must apply the changes in order for them to take effect.")); - echo "

\n"; - } elseif($savemsg) + if (isset($savemsg)) { print_info_box($savemsg); + } - if (isset($input_errors) && count($input_errors) > 0) + if (isset($input_errors) && count($input_errors) > 0) { print_input_errors($input_errors); + } ?>