Skip to content
Permalink
Browse files Browse the repository at this point in the history
(cp 9671454) fixes #826, check input parameter order_by in configuration
  • Loading branch information
plegall committed Dec 18, 2017
1 parent f7c8e0a commit 91ef790
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/configuration.php
Expand Up @@ -161,6 +161,8 @@
{
if ( !empty($_POST['order_by']) )
{
check_input_parameter('order_by', $_POST, true, '/^('.implode('|', array_keys($sort_fields)).')$/');

$used = array();
foreach ($_POST['order_by'] as $i => $val)
{
Expand Down

0 comments on commit 91ef790

Please sign in to comment.