aboutsummaryrefslogtreecommitdiffstats
path: root/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'action.php')
-rw-r--r--action.php2
1 files changed, 1 insertions, 1 deletions
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);