|
@@ -61,7 +61,7 @@ discard block |
|
|
block discarded – undo |
|
61
|
61
|
|
|
62
|
62
|
// Get the language from the bot |
|
63
|
63
|
$sth = $this->pdo->prepare('SELECT language FROM ' . $this->user_table . ' WHERE ' |
|
64
|
|
- . $this->id_column . ' = :chat_id'); |
|
|
64
|
+ . $this->id_column . ' = :chat_id'); |
|
65
|
65
|
$sth->bindParam(':chat_id', $this->_chat_id); |
|
66
|
66
|
|
|
67
|
67
|
try { |
|
@@ -97,7 +97,7 @@ discard block |
|
|
block discarded – undo |
|
97
|
97
|
|
|
98
|
98
|
// Update the language in the database |
|
99
|
99
|
$sth = $this->pdo->prepare('UPDATE ' . $this->user_table . ' SET language = :language WHERE ' |
|
100
|
|
- . $this->id_column . ' = :id'); |
|
|
100
|
+ . $this->id_column . ' = :id'); |
|
101
|
101
|
$sth->bindParam(':language', $language); |
|
102
|
102
|
$sth->bindParam(':id', $this->_chat_id); |
|
103
|
103
|
|
Please login to merge, or discard this patch.