Fix the label for the custom select destination.

This commit is contained in:
markjcrane 2015-08-14 10:33:18 -06:00
parent 6b665af51c
commit 1756b6064f
1 changed files with 3 additions and 1 deletions

View File

@ -224,7 +224,9 @@ class destinations {
}
}
if (!$select_found) {
$response .= " <option value='".$select_value."' selected='selected'>".trim($select_label)."</option>\n";
$destination_label = str_replace(":", " ", $destination_value);
$destination_label = str_replace("menu-exec-app:", " ", $destination_label);
$response .= " <option value='".$destination_value."' selected='selected'>".trim($destination_label)."</option>\n";
}
$response .= " </select>\n";
if (if_group("superadmin")) {