Typo in set_instance_id() method

Closes #16067
This commit is contained in:
Mike Jolley 2017-07-11 10:38:50 +01:00
parent e2b81d9116
commit be4a3fc99a
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class WC_Shipping_Rate {
* @param int $instance_id
*/
public function set_instance_id( $instance_id ) {
$this->data['method_id'] = absint( $instance_id );
$this->data['instance_id'] = absint( $instance_id );
}
/**