summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/filter_log.inc
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-02-14 16:31:05 -0500
committerSteve Beaver <sbeaver@netgate.com>2017-02-14 16:31:05 -0500
commit8d58ebae67880814c4ae602cd5313892927b1f3c (patch)
tree2b6f12cd28e2ad88a9f859f2b21675b8f819a681 /src/etc/inc/filter_log.inc
parent33ebc875126ef9a0de3670e47d21b13a883e8ab0 (diff)
downloadpfsense-8d58ebae67880814c4ae602cd5313892927b1f3c.zip
pfsense-8d58ebae67880814c4ae602cd5313892927b1f3c.tar.gz
GET/POST conversion
Diffstat (limited to 'src/etc/inc/filter_log.inc')
-rw-r--r--src/etc/inc/filter_log.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/filter_log.inc b/src/etc/inc/filter_log.inc
index 93b049c..7152bd9 100644
--- a/src/etc/inc/filter_log.inc
+++ b/src/etc/inc/filter_log.inc
@@ -559,7 +559,7 @@ function find_action_image($action) {
/* AJAX specific handlers */
function handle_ajax() {
global $config;
- if (($_GET['lastsawtime'] or $_POST['lastsawtime']) and ($_GET['logfile'] or $_POST['logfile'])) {
+ if ($_REQUEST['lastsawtime'] && $_REQUEST['logfile']) {
$lastsawtime = getGETPOSTsettingvalue('lastsawtime', null);
$logfile = getGETPOSTsettingvalue('logfile', null);
OpenPOWER on IntegriCloud