We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbffd35 commit f1fe507Copy full SHA for f1fe507
1 file changed
includes/classes/PPMFWC/Gateway/Abstract.php
@@ -61,13 +61,11 @@ public function __construct()
61
*/
62
public function getIcon()
63
{
64
- $paymentImage = $this->get_option('payment_image');
65
-
66
if (!empty($this->get_option('external_logo')) && wc_is_valid_url($this->get_option('external_logo'))) {
67
return $this->get_option('external_logo');
68
}
69
- if (!empty($paymentImage)) {
70
- return $paymentImage;
+ if (!empty($this->get_option('payment_image'))) {
+ return $this->get_option('payment_image');
71
72
73
if (!empty($this->getImagePathName())) {
0 commit comments