mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
seems like bindValue need to be done for each execute
This commit is contained in:
parent
f3de318e81
commit
7e8f2716e6
@ -91,6 +91,8 @@ class Utils extends StreamWrapper
|
|||||||
++$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