git://git.slightlycyberpunk.com
/
bdsm-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70adf91
)
Bugfix
author
Brian Flowers
<git-admn@bsflowers.net>
Tue, 27 Sep 2016 05:34:30 +0000
(
01:34
-0400)
committer
Brian Flowers
<git-admn@bsflowers.net>
Tue, 27 Sep 2016 05:34:30 +0000
(
01:34
-0400)
configure.php
patch
|
blob
|
history
diff --git
a/configure.php
b/configure.php
index
9e1fa8e
..
2b9fe92
100755
(executable)
--- 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);
}
}
?>