Skip to content

Commit

Permalink
v 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvdk committed Jan 30, 2019
1 parent bef7ce4 commit c69b745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actions/update/siteconfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

$bgprouterid = filter_var($_POST['bgprouterid'], FILTER_VALIDATE_IP, FILTER_FLAG_IPV4);
$bgpas = filter_var($_POST['bgpas'], FILTER_VALIDATE_INT);
if ($bgpas == false) $bgpas = 0;

$strQuery1 = "UPDATE `sites` SET `bgp`='" . $bgp . "', `bgprouterid`='" . $bgprouterid . "', `bgpas`='" . $bgpas . "' WHERE `idsites`='" . $site . "';";
$result1 = $dbhandle->query($strQuery1) or exit("Error code ({$dbhandle->errno}): {$dbhandle->error}");
Expand Down

0 comments on commit c69b745

Please sign in to comment.