unset the prepared statement

This commit is contained in:
Mark Crane 2014-06-24 06:48:39 +00:00
parent 7a01104700
commit a91f7ae504
1 changed files with 1 additions and 0 deletions

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';