Skip to content

Commit

Permalink
Should be defined on top
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed May 10, 2012
1 parent 0dc00ba commit a413124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/common.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3662,6 +3662,7 @@ function PMA_getFunctionsForField($field, $insert_mode)

$selected = '';
$default_function = '';
$dropdown_built = array();

// Can we get field class based values?
$current_class = $GLOBALS['PMA_Types']->getTypeClass($field['True_Type']);
Expand All @@ -3670,7 +3671,6 @@ function PMA_getFunctionsForField($field, $insert_mode)
$default_function = $cfg['DefaultFunctions']['FUNC_' . $current_class];
}
}
$dropdown_built = array();
// what function defined as default?
// for the first timestamp we don't set the default function
// if there is a default value for the timestamp
Expand Down

0 comments on commit a413124

Please sign in to comment.