remove duplicate CLOB sanitation

This commit is contained in:
El RIDO 2022-01-25 05:59:22 +01:00 committed by GitHub
parent f4438a0103
commit 0333777a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -593,11 +593,7 @@ class Database extends AbstractData
// returned CLOB values are streams, convert these into strings // returned CLOB values are streams, convert these into strings
$result = $firstOnly ? $result = $firstOnly ?
array_map('self::_sanitizeClob', $result) : array_map('self::_sanitizeClob', $result) :
array_map( $result;
function ($row) {
return array_map('self::_sanitizeClob', $row);
}, $result
);
} }
return $result; return $result;
} }