summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/filter_log.inc
diff options
context:
space:
mode:
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