Commit 1cc0860b authored by Ad Schellevis's avatar Ad Schellevis

(legacy) reorder filter configure and rrd in interfaces_assign.php

parent ee8aa2a5
...@@ -315,13 +315,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -315,13 +315,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
} }
} }
} }
write_config();
if ($changes > 0) { if ($changes > 0) {
// reload filter when interfaces have changed (original from apply action) // reload filter, rrd when interfaces have changed (original from apply action)
filter_configure(); filter_configure();
enable_rrd_graphing();
} }
write_config();
enable_rrd_graphing();
// redirect // redirect
header("Location: interfaces_assign.php"); header("Location: interfaces_assign.php");
exit; exit;
......
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