mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Unset the prepared statement in the ORM class after the sql query has been executed
This commit is contained in:
@@ -136,6 +136,7 @@
|
|||||||
}
|
}
|
||||||
$this->message = $message;
|
$this->message = $message;
|
||||||
$this->result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
$this->result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||||
|
unset($prep_statement);
|
||||||
$m++;
|
$m++;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user