From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 22 Mar 2023 03:16:54 +0000 (-0400) Subject: spelling: binary X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fcc34f052bc1cc2a35b885672d2fe745a1ca86ca;p=friendica.git spelling: binary Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/src/Database/Definition/DbaDefinition.php b/src/Database/Definition/DbaDefinition.php index 1e597bd64b..3d3a2fa928 100644 --- a/src/Database/Definition/DbaDefinition.php +++ b/src/Database/Definition/DbaDefinition.php @@ -82,7 +82,7 @@ class DbaDefinition // Assign all field that are present in the table foreach ($fieldNames as $field) { if (isset($data[$field])) { - // Limit the length of varchar, varbinary, char and binrary fields + // Limit the length of varchar, varbinary, char and binary fields if (is_string($data[$field]) && preg_match("/char\((\d*)\)/", $definition[$table]['fields'][$field]['type'], $result)) { $data[$field] = mb_substr($data[$field], 0, $result[1]); } elseif (is_string($data[$field]) && preg_match("/binary\((\d*)\)/", $definition[$table]['fields'][$field]['type'], $result)) {