diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 942904a7e9..56088b462c 100644 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -36,6 +36,9 @@ ##|*MATCH=edit.php* ##|-PRIV +if($_REQUEST['action'] === "load" || $_REQUEST['action'] === "save") + $nocsrf = true; + $pgtitle = array(gettext("Diagnostics"), gettext("Edit file")); require("guiconfig.inc");