Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

get proper string length #933

Merged
merged 1 commit into from May 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -403,7 +403,7 @@ public function addRecordByArray(array $recordData)
if (
array_key_exists('filename', $recordData) &&
array_key_exists('data', $recordData) &&
strlen($recordData) > 25000000
strlen($recordData['data']) > 25000000
) {
$recordData = ['filename' => $recordData['filename']];
}
Expand Down