Unset the prepared statement in the ORM class after the sql query has been executed

This commit is contained in:
Mark Crane
2014-07-23 20:11:05 +00:00
parent 7acad86def
commit a74cd36793

View File

@@ -136,6 +136,7 @@
}
$this->message = $message;
$this->result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset($prep_statement);
$m++;
return $this;
}