unset the prepared statement
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
if ($prep_statement) {
|
if ($prep_statement) {
|
||||||
$prep_statement->execute();
|
$prep_statement->execute();
|
||||||
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
||||||
|
unset($prep_statement);
|
||||||
if ($row['num_rows'] == 0) {
|
if ($row['num_rows'] == 0) {
|
||||||
$x = 0;
|
$x = 0;
|
||||||
$array[$x]['default_setting_category'] = 'cdr';
|
$array[$x]['default_setting_category'] = 'cdr';
|
||||||
|
|||||||
Reference in New Issue
Block a user