Prechádzať zdrojové kódy

Update refreshmessages.php

causefx 8 rokov pred
rodič
commit
679eb646d4
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 3 3
      chat/refreshmessages.php

+ 3 - 3
chat/refreshmessages.php

@@ -128,7 +128,7 @@ function decryptmessage($msg)
 
 
 if( count($newmessages) == 1 )
 if( count($newmessages) == 1 )
 {
 {
-    echo htmlspecialchars($newmessages[0], ENT_QUOTES);
+    echo $newmessages[0];
 }
 }
 else
 else
 {
 {
@@ -136,11 +136,11 @@ else
     {
     {
         if( $i == count($newmessages) - 1 )
         if( $i == count($newmessages) - 1 )
         {
         {
-            echo htmlspecialchars($newmessages[$i], ENT_QUOTES);
+            echo $newmessages[$i];
         }
         }
         else
         else
         {
         {
-            echo htmlspecialchars($newmessages[$i], ENT_QUOTES) . "###endofmessage###";
+            echo $newmessages[$i]. "###endofmessage###";
         }
         }
     }
     }
 }
 }