mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
remove duplicate CLOB sanitation
This commit is contained in:
parent
f4438a0103
commit
0333777a37
@ -593,11 +593,7 @@ class Database extends AbstractData
|
||||
// returned CLOB values are streams, convert these into strings
|
||||
$result = $firstOnly ?
|
||||
array_map('self::_sanitizeClob', $result) :
|
||||
array_map(
|
||||
function ($row) {
|
||||
return array_map('self::_sanitizeClob', $row);
|
||||
}, $result
|
||||
);
|
||||
$result;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user