From 0f8d85491f656440e7cc66ecca70f7af8dff0022 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 17 Dec 2015 14:08:53 +0100 Subject: feature #379, multiple format, hide formats when disabled --- action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'action.php') diff --git a/action.php b/action.php index de326e8b6..6bdb3bf11 100644 --- a/action.php +++ b/action.php @@ -57,7 +57,7 @@ function do_error( $code, $str ) exit(); } -if (isset($_GET['format'])) +if ($conf['enable_formats'] and isset($_GET['format'])) { check_input_parameter('format', $_GET, false, PATTERN_ID); -- cgit v1.2.3