Skip to content

Commit 4fb3f83

Browse files
authored
Update class-wc-tpayway.php
Trebamo pri provjeri postaviti isset inače dobijemo notice: Undefined index: ShoppingCartID
1 parent dfd3c33 commit 4fb3f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/class-wc-tpayway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ function check_tcompayway_response()
484484
global $woocommerce;
485485

486486
// Return if is error during installation
487-
if (!$_POST['ShoppingCartID']) {
487+
if (!isset($_POST['ShoppingCartID'])) {
488488
return;
489489
}
490490

0 commit comments

Comments
 (0)