feature #379, multiple format, hide formats when disabled

This commit is contained in:
plegall
2015-12-17 14:08:53 +01:00
parent b1b9199258
commit 0f8d85491f
2 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -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);