We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 027bf0e commit 9e42e86Copy full SHA for 9e42e86
1 file changed
src/DB.php
@@ -811,7 +811,7 @@ public static function insertMessageRequest(Message &$message)
811
$sth->bindParam(':channel_chat_created', $channel_chat_created, \PDO::PARAM_INT);
812
$sth->bindParam(':migrate_from_chat_id', $migrate_from_chat_id, \PDO::PARAM_INT);
813
$sth->bindParam(':migrate_to_chat_id', $migrate_to_chat_id, \PDO::PARAM_INT);
814
- $sth->bindParam(':pinned_message', $pinned_message, \PDO::PARAM_INT);
+ $sth->bindParam(':pinned_message', $pinned_message, \PDO::PARAM_STR);
815
816
return $sth->execute();
817
} catch (\PDOException $e) {
0 commit comments