← All changes
|
app/Modules/PaymentMethods/PromoGateways/Addons/SslcommerzAddon.php
+5
-1
1.5.2
→
1.6.6
View file →
| @@ -93,9 +93,13 @@ | ||
| 93 | 93 | 'addon_source' => $meta['addon_source'] ?? [], |
| 94 | 94 | 'footer_text' => __('Download manually with FluentCart free, or install automatically with FluentCart Pro.', 'fluent-cart'), |
| 95 | 95 | ]; |
| 96 | 96 | |
| 97 | - return $this->settings->generateAddonNotice($config); | |
| 97 | + if ($this->settings instanceof AddonGatewaySettings) { | |
| 98 | + return $this->settings->generateAddonNotice($config); | |
| 99 | + } | |
| 100 | + | |
| 101 | + return null; | |
| 98 | 102 | } |
| 99 | 103 | |
| 100 | 104 | public function fields() |
| 101 | 105 | { |