Skip to content

Commit

Permalink
FIX: Unparenthesized a ? b : c ? d : e is deprecated.
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Thorpe <danthorpe@live.co.uk>
Signed-off-by: Dan Thorpe <dant@linx.net>
  • Loading branch information
dant89 committed Oct 10, 2019
1 parent 431c954 commit 39d0b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/tbl_columns_definition_form.inc.php
Expand Up @@ -428,8 +428,8 @@
'max_rows' => intval($GLOBALS['cfg']['MaxRows']),
'char_editing' => isset($GLOBALS['cfg']['CharEditing']) ? $GLOBALS['cfg']['CharEditing'] : null,
'attribute_types' => $GLOBALS['dbi']->types->getAttributes(),
'privs_available' => (isset($GLOBALS['col_priv']) ? $GLOBALS['col_priv'] : false
&& isset($GLOBALS['is_reload_priv']) ? $GLOBALS['is_reload_priv'] : false
'privs_available' => ((isset($GLOBALS['col_priv']) ? $GLOBALS['col_priv'] : false)
&& (isset($GLOBALS['is_reload_priv']) ? $GLOBALS['is_reload_priv'] : false)
),
'max_length' => $GLOBALS['dbi']->getVersion() >= 50503 ? 1024 : 255,
'have_partitioning' => Partition::havePartitioning(),
Expand Down

0 comments on commit 39d0b47

Please sign in to comment.