Skip to content

Commit

Permalink
Removed two lines to fix the query running twice issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shehrozsheikh committed Jul 29, 2024
1 parent 47b106b commit 2150c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions future/includes/class-gv-shortcode-gravityview.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ public function callback( $passed_atts, $content = '', $tag = '' ) {

$atts = $this->parse_and_sanitize_atts( $atts );

$view->settings->update( array( 'shortcode_atts' => $atts ) );
$view->settings->update( $atts );
// $view->settings->update( array( 'shortcode_atts' => $atts ) );
// $view->settings->update( $atts );

/**
* Check permissions.
Expand Down

0 comments on commit 2150c76

Please sign in to comment.