Skip to content

Commit

Permalink
* fix previous change's typo - not saved extension settings
Browse files Browse the repository at this point in the history
  • Loading branch information
nemo committed Jan 18, 2022
1 parent 4ecaefd commit a5bf9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/helpers/class-fw-wp-option.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static function get($option_name, $specific_multi_key = null, $default_va
_doing_it_wrong(__FUNCTION__, '$get_original_value parameter was removed', 'Unyson 2.5.8');
}

$value = get_option($option_name = '', null);
$value = get_option($option_name, null);

if (empty($specific_multi_key) && $specific_multi_key !== '0') {
return is_null($value) ? fw_call( $default_value ) : $value;
Expand Down

0 comments on commit a5bf9b8

Please sign in to comment.