aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions_history.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/include/functions_history.inc.php b/admin/include/functions_history.inc.php
index 49c9f9d14..911546125 100644
--- a/admin/include/functions_history.inc.php
+++ b/admin/include/functions_history.inc.php
@@ -137,6 +137,11 @@ SELECT
);
}
}
+
+ if (isset($search['fields']['ip']))
+ {
+ $clauses[] = 'IP LIKE "'.$search['fields']['ip'].'"';
+ }
$clauses = prepend_append_array_items($clauses, '(', ')');