Skip to content

Commit e3be5dc

Browse files
committed
Minor: Remove deprecated condition in statistics.lib.php
1 parent 0c20734 commit e3be5dc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main/inc/lib/statistics.lib.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,9 +1072,7 @@ public static function printActivitiesStats()
10721072
$parameters = [];
10731073

10741074
$parameters['report'] = 'activities';
1075-
if (isset($_GET['keyword'])) {
1076-
$parameters['keyword'] = Security::remove_XSS($_GET['keyword']);
1077-
}
1075+
$parameters['keyword'] = Security::remove_XSS($_GET['keyword']);
10781076

10791077
$table->set_additional_parameters($parameters);
10801078
$table->set_header(0, get_lang('EventType'));

0 commit comments

Comments
 (0)