Unset the prepared statements used in the app_defaults.php files.

This commit is contained in:
Mark Crane
2014-07-23 22:00:03 +00:00
parent 411e0d7733
commit 5e0d82c06d
12 changed files with 54 additions and 35 deletions
+1
View File
@@ -31,6 +31,7 @@ if (count($_SESSION['email']) == 0 && $domains_processed == 1) {
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_NAMED);
unset($prep_statement);
//set the variable
$smtp[]['smtp_host'] = check_str($row['smtp_host']);
$smtp[]['smtp_secure'] = check_str($row['smtp_secure']);