Skip to content
Permalink
Browse files Browse the repository at this point in the history
Update link_manager.php
Fix #169
  • Loading branch information
MW0MWZ committed Oct 3, 2022
1 parent 29f832b commit 1e46533
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dstarrepeater/link_manager.php
Expand Up @@ -22,7 +22,8 @@
}
$targetRef = $targetRef.$_POST["Letter"];
$targetRef = strtoupper($targetRef);
$module = $_POST["Module"];
$module = substr($_POST["Module"], 0, 7);
$module = preg_replace("/[^a-zA-Z0-9]+/", "", $module);

if (strlen($module) != 8) { //Fix the length of the module information
$moduleFixedCs = strlen($module) - 1; //Length of the string, -1
Expand Down

0 comments on commit 1e46533

Please sign in to comment.