fix mysqli_prepare seek

This commit is contained in:
Ulf Gebhardt 2025-03-21 13:02:40 +01:00
parent 5ba6dd7c06
commit 2ab0aadb23
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -105,7 +105,9 @@ class ResultMysqliPrepare extends \SYSTEM\DB\Result{
* @return bool Returns true or false
*/
public function seek($row_number){
return \mysqli_stmt_data_seek($this->res,$row_number);}
mysqli_stmt_store_result($this->res);
\mysqli_stmt_data_seek($this->res,$row_number);
}
public function insert_id(){
return $this->connection->insert_id();