From 4cc6f7c7528deae682f95a97f789b44d2fa0236e Mon Sep 17 00:00:00 2001 From: Brian Flowers Date: Tue, 27 Sep 2016 01:34:30 -0400 Subject: [PATCH] Bugfix --- configure.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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); } } ?> -- 1.8.3.1