Skip to content
Snippets Groups Projects
Commit f5a0311a authored by llaffont's avatar llaffont
Browse files

Cosmogramme: fix bindParam => bindValue

parent 23f5aa55
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!96.38.3
......@@ -146,8 +146,7 @@ class sql
: $this->statements[$table][$cols] = $this->createInsertPrepareStatement($table, $data);
foreach($data as $col => $valeur) {
$valeur = trim($valeur);
$statement->bindParam(":$col", $valeur);
$statement->bindValue(":$col", trim($valeur));
}
try {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment