unset the prepared statement

This commit is contained in:
Mark Crane
2014-06-24 06:48:39 +00:00
parent be571646fa
commit b73f895446

View File

@@ -49,6 +49,7 @@
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
unset($prep_statement);
if ($row['num_rows'] == 0) {
$x = 0;
$array[$x]['default_setting_category'] = 'cdr';