dever 6 lat temu
rodzic
commit
73f8ff4f4b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      act/lib/Pay.php

+ 1 - 1
act/lib/Pay.php

@@ -89,7 +89,7 @@ class Pay
         ksort($send);
         $send['signature'] = md5($key . '&' . http_build_query($send));
         $signature = Dever::input('signature');
-        if ($send['signature'] != $signature) {
+        if ($send['signature'] == $signature) {
             $product_id = $send['pay_product_id'];
             $uid = $send['pay_uid'];
             $cash = $send['pay_cash'];