Explorar el Código

this fixes the comment display issue

Co-authored-by: Austin Huang <im@austinhuang.me>
El RIDO hace 4 años
padre
commit
0c4852c099
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Data/Database.php

+ 1 - 1
lib/Data/Database.php

@@ -582,7 +582,7 @@ class Database extends AbstractData
             // workaround for https://bugs.php.net/bug.php?id=46728
             // workaround for https://bugs.php.net/bug.php?id=46728
             $result = array();
             $result = array();
             while ($row = $statement->fetch(PDO::FETCH_ASSOC)) {
             while ($row = $statement->fetch(PDO::FETCH_ASSOC)) {
-                $result[] = $row;
+                $result[] = array_map('self::_sanitizeClob', $row);
             }
             }
         } else {
         } else {
             $result = $statement->fetchAll(PDO::FETCH_ASSOC);
             $result = $statement->fetchAll(PDO::FETCH_ASSOC);