Skip to content

Commit

Permalink
Remove redundant isset
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
  • Loading branch information
kamil-tekiela committed Jan 6, 2022
1 parent 9afa594 commit 73b7094
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libraries/classes/Controllers/Table/OperationsController.php
Expand Up @@ -246,11 +246,7 @@ public function __invoke(): void
$warning_messages = $this->operations->getWarningMessagesArray();
}

if (
isset($_POST['tbl_collation'], $_POST['change_all_collations'])
&& ! empty($_POST['tbl_collation'])
&& ! empty($_POST['change_all_collations'])
) {
if (! empty($_POST['tbl_collation']) && ! empty($_POST['change_all_collations'])) {
$this->operations->changeAllColumnsCollation($db, $table, $_POST['tbl_collation']);
}

Expand Down

0 comments on commit 73b7094

Please sign in to comment.