mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 08:13:41 +00:00
Fixing bug with & in name of DXCC
An & in the name of a DXCC causes the webserver to ERROR 500.
This commit is contained in:
parent
1fa21fc245
commit
9153b18d06
@ -36,7 +36,7 @@
|
||||
if ($count == 0){
|
||||
print("<td> </td>");
|
||||
}else{
|
||||
printf("<td><a href='dxcc_details?Country=\"%s\"&Band=\"%s\"'>%d</a></td>", $country, $band, $count);
|
||||
printf("<td><a href='dxcc_details?Country=\"%s\"&Band=\"%s\"'>%d</a></td>", str_replace("&", "%26", $country), $band, $count);
|
||||
}
|
||||
}
|
||||
print("</tr>");
|
||||
|
Loading…
Reference in New Issue
Block a user