Skip to content

Conversation

@MauricioFauth
Copy link
Member

No description provided.

$db,
$table,
$request->getParsedBodyParamAsString('dropped_column', ''),
$request->hasBodyParam('purge'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you verify that the value doesn't matter? It could have been an empty string or "0" before.

{
$output = '';
if (isset($_GET['label'])) {
if ($label !== null && $label !== '') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the extra check for empty string?

// If we are retrieving the full value of a truncated field or the original
// value of a transformed field, show it here
if (isset($_POST['grid_edit']) && $_POST['grid_edit']) {
if ($request->hasBodyParam('grid_edit')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the part && $_POST['grid_edit'] unnecessary before?

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants