mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
this fixes the comment display issue
Co-authored-by: Austin Huang <im@austinhuang.me>
This commit is contained in:
parent
b8e8755fb1
commit
0c4852c099
@ -582,7 +582,7 @@ class Database extends AbstractData
|
||||
// workaround for https://bugs.php.net/bug.php?id=46728
|
||||
$result = array();
|
||||
while ($row = $statement->fetch(PDO::FETCH_ASSOC)) {
|
||||
$result[] = $row;
|
||||
$result[] = array_map('self::_sanitizeClob', $row);
|
||||
}
|
||||
} else {
|
||||
$result = $statement->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
Loading…
Reference in New Issue
Block a user