diff --git a/app/contacts/contact_settings.php b/app/contacts/contact_settings.php index 9497568990..4d4a85505b 100644 --- a/app/contacts/contact_settings.php +++ b/app/contacts/contact_settings.php @@ -31,8 +31,8 @@ require_once "resources/check_auth.php"; require_once "resources/paging.php"; //get variables used to control the order - $order_by = $_GET["order_by"]; - $order = $_GET["order"]; + $order_by = check_str($_GET["order_by"]); + $order = check_str($_GET["order"]); //prepare to page the results $sql = "select count(*) as num_rows from v_contact_settings "; @@ -105,9 +105,9 @@ require_once "resources/paging.php"; echo " \n"; echo "\n"; echo "