Skip to content

Commit

Permalink
fix: Withdraw methods toggle options not working
Browse files Browse the repository at this point in the history
  • Loading branch information
alamgircsebd committed Dec 10, 2020
1 parent ec2b7a7 commit 7801942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/Admin/SetupWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ public function dokan_setup_withdraw() {
?>
</div>
<div class="dokan-wizard-service-enable">
<input type="checkbox" name="withdraw_methods[<?php esc_html( $key ); ?>]" id="withdraw_methods[<?php esc_html( $key ); ?>]" class="switch-input" value="<?php esc_html( $key ); ?>" <?php echo ( in_array( $key, array_values( $withdraw_methods ), true ) ) ? 'checked="checked"' : ''; ?>>
<label for="withdraw_methods[<?php esc_html( $key ); ?>]" class="switch-label"></label>
<input type="checkbox" name="withdraw_methods[<?php echo esc_html( $key ); ?>]" id="withdraw_methods[<?php echo esc_html( $key ); ?>]" class="switch-input" value="<?php echo esc_html( $key ); ?>" <?php echo ( in_array( $key, array_values( $withdraw_methods ), true ) ) ? 'checked="checked"' : ''; ?>>
<label for="withdraw_methods[<?php echo esc_html( $key ); ?>]" class="switch-label"></label>
</div>
</li>
<?php endforeach ?>
Expand Down

0 comments on commit 7801942

Please sign in to comment.