How does the user modify the function link_status2 to correctly check if a specific target is in the $_GET['ziel'] variable?

The issue with the function link_status2 is that it is not correctly checking if a specific target is in the $_GET['ziel'] variable. To solve this, we need to modify the function to compare the target with the value of $_GET['ziel'] using the '==' operator. This will ensure that the function accurately checks if the specific target is present in the $_GET['ziel'] variable.

function link_status2($target) {
    if(isset($_GET['ziel']) && $_GET['ziel'] == $target) {
        return 'active';
    } else {
        return '';
    }
}