Use $_REQUEST instead of $_POST or $_GET
This commit is contained in:
parent
0873d67552
commit
c29c00dac1
|
|
@ -44,10 +44,13 @@
|
||||||
$text = $language->get();
|
$text = $language->get();
|
||||||
|
|
||||||
//get the http post data
|
//get the http post data
|
||||||
if (is_array($_POST['fax_queue'])) {
|
if (isset($_REQUEST['action'])) {
|
||||||
$action = $_POST['action'];
|
$action = $_REQUEST['action'];
|
||||||
$search = $_POST['search'];
|
}
|
||||||
$fax_queue = $_POST['fax_queue'];
|
|
||||||
|
//add the search
|
||||||
|
if (isset($_REQUEST["search"])) {
|
||||||
|
$search = strtolower($_REQUEST["search"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//process the http post data by action
|
//process the http post data by action
|
||||||
|
|
@ -91,10 +94,7 @@
|
||||||
$order_by = $_GET["order_by"];
|
$order_by = $_GET["order_by"];
|
||||||
$order = $_GET["order"];
|
$order = $_GET["order"];
|
||||||
|
|
||||||
//add the search
|
|
||||||
if (isset($_GET["search"])) {
|
|
||||||
$search = strtolower($_GET["search"]);
|
|
||||||
}
|
|
||||||
|
|
||||||
//get the count
|
//get the count
|
||||||
$sql = "select count(fax_queue_uuid) ";
|
$sql = "select count(fax_queue_uuid) ";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue