aboutsummaryrefslogtreecommitdiffstats
path: root/action.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2015-12-17 14:08:53 +0100
committerplegall <plg@piwigo.org>2015-12-17 14:08:53 +0100
commit0f8d85491f656440e7cc66ecca70f7af8dff0022 (patch)
treed3d9f9b3f79892f00604b974e9548bfb92f0074b /action.php
parentb1b91992581b769fba5dae51aa5fb17b155516ba (diff)
feature #379, multiple format, hide formats when disabled
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);