File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,9 +159,9 @@ function ip_in_range($ip, $range){
159159$ update = json_decode (file_get_contents ("php://input " ));
160160if (isset ($ update ->message )){
161161 $ from_id = $ update ->message ->from ->id ;
162- $ text = htmlspecialchars ( $ update ->message ->text ) ;
162+ $ text = $ update ->message ->text ;
163163 $ first_name = htmlspecialchars ($ update ->message ->from ->first_name );
164- $ caption = htmlspecialchars ( $ update ->message ->caption ) ;
164+ $ caption = $ update ->message ->caption ;
165165 $ chat_id = $ update ->message ->chat ->id ;
166166 $ last_name = htmlspecialchars ($ update ->message ->from ->last_name );
167167 $ username = $ update ->message ->from ->username ?? " ندارد " ;
@@ -173,7 +173,7 @@ function ip_in_range($ip, $range){
173173if (isset ($ update ->callback_query )){
174174 $ callbackId = $ update ->callback_query ->id ;
175175 $ data = $ update ->callback_query ->data ;
176- $ text = htmlspecialchars ( $ update ->callback_query ->message ->text ) ;
176+ $ text = $ update ->callback_query ->message ->text ;
177177 $ message_id = $ update ->callback_query ->message ->message_id ;
178178 $ chat_id = $ update ->callback_query ->message ->chat ->id ;
179179 $ chat_type = $ update ->callback_query ->message ->chat ->type ;
You can’t perform that action at this time.
0 commit comments