Skip to content

Commit

Permalink
Merge #16236 - Fixes #16139 - ✨ Use TextArea for JSON columns.
Browse files Browse the repository at this point in the history
Merge: #16236
Fixes: #16139
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jul 2, 2020
2 parents 05c62ad + c96b314 commit c8bc76b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libraries/classes/InsertEdit.php
Expand Up @@ -758,8 +758,10 @@ private function getValueColumn(
$foreignData,
$readOnly
);
} elseif ($GLOBALS['cfg']['LongtextDoubleTextarea']
&& mb_strstr($column['pma_type'], 'longtext')
} elseif ((
$GLOBALS['cfg']['LongtextDoubleTextarea']
&& mb_strstr($column['pma_type'], 'longtext'))
|| mb_strstr($column['pma_type'], 'json')
) {
$html_output .= $this->getTextarea(
$column,
Expand Down

0 comments on commit c8bc76b

Please sign in to comment.