Skip to content

Commit

Permalink
fixed errors with phpcbf
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Henrique F. Pimentel <pedrohfpimentel@gmail.com>
  • Loading branch information
pedrohfpimentel committed Nov 28, 2021
1 parent e2991a3 commit cf96392
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions libraries/classes/InsertEdit.php
Expand Up @@ -826,7 +826,7 @@ private function getValueColumnForOtherDatatypes(
$html_input = '';
$text_area = '';
$default_generated = false;

$if_is_char = $column['is_char'] && ($GLOBALS['cfg']['CharEditing'] === 'textarea' || str_contains($data, "\n"));
if ($if_is_char) {
$GLOBALS['cfg']['CharEditing'] = $defaultCharEditing;
Expand All @@ -843,8 +843,9 @@ private function getValueColumnForOtherDatatypes(
$dataType,
$readOnly
);
}
if (!$if_is_char) {
}

if (! $if_is_char) {
$html_input = $this->getHtmlInput(
$column,
$columnNameAppendix,
Expand Down

0 comments on commit cf96392

Please sign in to comment.