mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:04 +01:00
seems like bindValue need to be done for each execute
This commit is contained in:
parent
d1bea8ca1d
commit
bb76fbe8c4
@ -86,6 +86,8 @@ class sqlfs_utils extends sqlfs_stream_wrapper
|
|||||||
++$n;
|
++$n;
|
||||||
}
|
}
|
||||||
if (!$n) break; // just in case nothing is found, statement will execute just fine
|
if (!$n) break; // just in case nothing is found, statement will execute just fine
|
||||||
|
|
||||||
|
$stmt->bindValue(':offset', $n, PDO::PARAM_INT);
|
||||||
}
|
}
|
||||||
unset($row); // not used, as we access bound variables
|
unset($row); // not used, as we access bound variables
|
||||||
unset($stmt);
|
unset($stmt);
|
||||||
|
Loading…
Reference in New Issue
Block a user