diff --git a/wp_enqueue_less.php b/wp_enqueue_less.php index 7e3b7b7..df67cf8 100644 --- a/wp_enqueue_less.php +++ b/wp_enqueue_less.php @@ -2,7 +2,7 @@ function wp_enqueue_less($key, $file, $variables){ $details = get_option('wp_enqueue_less_' . $key, new StdClass); - if(!$details->key){ + if(!isset($details->key)){ $details->key = $key; $details->file = $file; $details->setting = 'wp_enqueue_less_' . $key;