Bug in Campaigns Detail view v. 7.7.5.

When I wiew the status of a campaign the first item in the filter dropdown is not correctly shown:

I went to the file: modules/Campaigns/TrackDetailView.php

At line 167 I found this code:

        $options_str .= '<option value="all">{$app_strings["LBL_CAMPAIGN_NONE"]}</option>';

I have edited the code to:

        $options_str .= "<option value='all'>{$app_strings['LBL_CAMPAIGN_NONE']}</option>";

(I have inverted single quotes with double quotes so that variables are now evaluated in the string)

and now it, correctly looks like this:

1 Like