Skip to content

Commit

Permalink
Fix an issue that prevented the admin dashboard from opening when woo…
Browse files Browse the repository at this point in the history
…-commerce was not installed or active
  • Loading branch information
michelve committed Dec 19, 2019
1 parent b10bd83 commit f48288f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions includes/slm-plugin-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function slm_get_license($lic_key_prefix = ''){
// TODO check for optional plugins

// Third Party Support

if (null !== SLM_Helper_Class::slm_get_option('slm_woo') && SLM_Helper_Class::slm_get_option('slm_woo') == 1) {
/**
* Check if WooCommerce is activated
Expand Down
4 changes: 2 additions & 2 deletions software-license-manager.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: Software License Manager
Version: 5.1.6
Version: 5.1.7
Plugin URI: https://github.com/michelve/software-license-manager/
Author: Michel Velis
Author URI: https://www.epikly.com/
Expand All @@ -19,7 +19,7 @@
global $wpdb, $slm_debug_logger;

//Short name/slug "SLM" or "slm"
define('SLM_VERSION', '5.1.6');
define('SLM_VERSION', '5.1.7');
define('SLM_DB_VERSION', '4.1.2');
define('SLM_REWRITE_VERSION', '2.3.0');
define('SLM_FOLDER', dirname(plugin_basename(__FILE__)));
Expand Down

0 comments on commit f48288f

Please sign in to comment.