From: Brian Flowers Date: Tue, 27 Sep 2016 05:34:30 +0000 (-0400) Subject: Bugfix X-Git-Url: http://git.slightlycyberpunk.com%2C%20git.slightlycyberpunk.com/git/?a=commitdiff_plain;h=4cc6f7c7528deae682f95a97f789b44d2fa0236e;p=bdsm-web.git Bugfix --- diff --git a/configure.php b/configure.php index 9e1fa8e..2b9fe92 100755 --- a/configure.php +++ b/configure.php @@ -37,20 +37,14 @@ if( isset($_POST) ) $stmt = $db->prepare($insert); if( $stmt ) - { - $stmt->bindParam($params); - $stmt->execute(); - } + $stmt->execute($params); $update = "UPDATE bdsmweb SET :setting = :value ". "WHERE host = :host AND attribute = :attribute;"; $stmt = $db->prepare($update); if( $stmt ) - { - $stmt->bindParam($params); - $stmt->execute(); - } + $stmt->execute($params); } } ?>