diff --git a/core/modules/statistics/statistics.php b/core/modules/statistics/statistics.php index 25bf213..459be3d 100644 --- a/core/modules/statistics/statistics.php +++ b/core/modules/statistics/statistics.php @@ -22,7 +22,7 @@ ->get('count_content_views'); if ($views) { - $id = filter_input(INPUT_POST, 'id', FILTER_VALIDATE_INT); + $id = filter_input(INPUT_POST, 'nid', FILTER_VALIDATE_INT); if ($id) { $container->get('request_stack')->push(Request::createFromGlobals()); $container->get('statistics.storage')->recordView($id);