@@ -75,7 +75,7 @@ |
||
75 | 75 | |
76 | 76 | $this->initCommands(); |
77 | 77 | |
78 | - // Process all updates received |
|
78 | + // Process all updates received |
|
79 | 79 | while (true) { |
80 | 80 | |
81 | 81 | $updates = $this->getUpdates($offset, $limit, $timeout); |
@@ -148,8 +148,8 @@ |
||
148 | 148 | |
149 | 149 | // If the user has already added a button in this row |
150 | 150 | if ($this->column != 0) { |
151 | - // Change row |
|
152 | - $this->changeRow(); |
|
151 | + // Change row |
|
152 | + $this->changeRow(); |
|
153 | 153 | } |
154 | 154 | |
155 | 155 | // Add buttons to the next row |
@@ -100,7 +100,7 @@ |
||
100 | 100 | |
101 | 101 | // Exec getUpdates |
102 | 102 | $this->execRequest('getUpdates?' . http_build_query($parameters) |
103 | - . '&allowed_updates=' . json_encode($allowed_updates)); |
|
103 | + . '&allowed_updates=' . json_encode($allowed_updates)); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** @} */ |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | // Get the language from the bot |
55 | 55 | $sth = $this->pdo->prepare('SELECT language FROM ' . $this->user_table . ' WHERE ' |
56 | - . $this->id_column . ' = :chat_id'); |
|
56 | + . $this->id_column . ' = :chat_id'); |
|
57 | 57 | $sth->bindParam(':chat_id', $this->_chat_id); |
58 | 58 | |
59 | 59 | try { |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | // Update the language in the database |
121 | 121 | $sth = $this->pdo->prepare('UPDATE ' . $this->user_table . ' SET language = :language WHERE ' |
122 | - . $this->id_column . ' = :id'); |
|
122 | + . $this->id_column . ' = :id'); |
|
123 | 123 | $sth->bindParam(':language', $language); |
124 | 124 | $sth->bindParam(':id', $this->_chat_id); |
125 | 125 |