diff options
author | plegall <plg@piwigo.org> | 2015-12-17 14:08:53 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2015-12-17 14:08:53 +0100 |
commit | 0f8d85491f656440e7cc66ecca70f7af8dff0022 (patch) | |
tree | d3d9f9b3f79892f00604b974e9548bfb92f0074b /action.php | |
parent | b1b91992581b769fba5dae51aa5fb17b155516ba (diff) |
feature #379, multiple format, hide formats when disabled
Diffstat (limited to 'action.php')
-rw-r--r-- | action.php | 2 |
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); |