PluginProbe
CSS & JavaScript Toolbox / 7.1
CSS & JavaScript Toolbox v7.1
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | models/setup.php +6 -2 6.07.1 View file →
@@ -13,9 +13,9 @@
13 13
14 14 /**
15 15 *
16 16 */
17 - const EDD_PRODUCT_NAME = 'CJT V6';
17 + const EDD_PRODUCT_NAME = 'CJT Free';
18 18
19 19 /**
20 20 *
21 21 */
@@ -34,8 +34,12 @@
34 34 */
35 35 public function __construct() {
36 36 // Read all cached licenses!
37 37 $this->licenses = get_option(self::LICENSES_CACHE);
38 + // Make sure its array!
39 + if (!is_array($this->licenses)) {
40 + $this->licenses = array();
41 + }
38 42 }
39 43
40 44 /**
41 45 * put your comment there...
@@ -102,9 +106,9 @@
102 106 * put your comment there...
103 107 *
104 108 */
105 109 public function & getLicenses() {
106 - return $this->licenses ? $this->licenses : array();
110 + return $this->licenses;
107 111 }
108 112
109 113 /**
110 114 * Get list of all cached licenses that has