diff --git a/lib/helper.php b/lib/helper.php index 08c081b..8f16311 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -184,7 +184,7 @@ class Helper { $result = $this -> db -> prepare($query); foreach($params as $param => $value) { - $result -> bindParam(":".$param, $value); + $result -> bindValue(":".$param, $value); } \OCP\Util::writeLog('OC_USER_SQL', "Executing query...", \OCP\Util::DEBUG); if(!$result -> execute()) @@ -241,4 +241,4 @@ class Helper { } -} \ No newline at end of file +}