diff --git a/components/com_tags/router.php b/components/com_tags/router.php index ee484aa5df69f..1e7eb8945cbc1 100644 --- a/components/com_tags/router.php +++ b/components/com_tags/router.php @@ -86,7 +86,7 @@ public function build(&$query) } else { - $id = $query['id']; + $id = (int) $query['id']; } $segments[] = $id;