Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
style(PSR2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Feb 26, 2019
1 parent a4e1d94 commit d5a6a3a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@
}
if (preg_match("/@DOLLAR@HOSTADDRESS@DOLLAR@/", $resource_def, $matches)) {
if (isset($_GET["command_hostaddress"])) {
$resource_def = str_replace("@DOLLAR@HOSTADDRESS@DOLLAR@", $_GET["command_hostaddress"], $resource_def);
$resource_def = str_replace(
"@DOLLAR@HOSTADDRESS@DOLLAR@",
$_GET["command_hostaddress"],
$resource_def
);
} else {
$error_msg .= "\$HOSTADDRESS\$";
}
Expand Down

0 comments on commit d5a6a3a

Please sign in to comment.