Skip to content

Commit

Permalink
Merge pull request #223 from wohahobg/lgsl7
Browse files Browse the repository at this point in the history
Update lgsl_class.php
  • Loading branch information
tltneon authored Sep 11, 2024
2 parents 456ba38 + 269406e commit 208ec70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lgsl_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ public function getConnectionLink() {
}

// INSERT DATA INTO STATIC LINK - CONVERT SPECIAL CHARACTERS - RETURN
return htmlentities(str_replace(["{IP}", "{C_PORT}", "{Q_PORT}", "{S_PORT}", "{GAME}"], [$this->getIp(), $this->getConnectionPort(), $this->getQueryPort(), $s_port, $this->getGame()], $link), ENT_QUOTES);
return htmlentities(str_replace(["{IP}", "{C_PORT}", "{Q_PORT}", "{S_PORT}", "{GAME}"], [$this->getIp(true), $this->getConnectionPort(), $this->getQueryPort(), $s_port, $this->getGame()], $link), ENT_QUOTES);
}
public function addUrlPath($path = '') {
global $lgsl_url_path;
Expand Down Expand Up @@ -1214,4 +1214,4 @@ function toString() {
$output .= "
</select>";
}


0 comments on commit 208ec70

Please sign in to comment.