Skip to content

Commit

Permalink
Use already created variable for default
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed May 25, 2018
1 parent 623af27 commit 22c7fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CMB2_Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public function repeatable_rows() {
}

// Then add an empty row
$this->field->escaped_value = $this->field->get_default();
$this->field->escaped_value = $default;
$this->iterator = $this->iterator ? $this->iterator : 1;
$this->repeat_row( 'empty-row hidden' );
}
Expand Down

0 comments on commit 22c7fbd

Please sign in to comment.