Skip to content

Commit

Permalink
fix (PHP warning): removed undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Intal authored and Benjamin Intal committed Oct 16, 2023
1 parent eb6f68d commit 29dac15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecated/native-global-colors.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function stackable_deprecated_global_colors_for_native_blocks() {
// Don't do anything if we doon't have any global colors.
$colors = get_option( 'stackable_global_colors' );
if ( ! $colors || ! is_array( $colors ) ) {
return $current_css;
return;
}

$css = '';
Expand Down

0 comments on commit 29dac15

Please sign in to comment.