rabin hai 1 ano
pai
achega
0b8ba87017
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      yspay/Cash.php

+ 1 - 1
yspay/Cash.php

@@ -161,7 +161,7 @@ class Cash
     	if ($merchant) {
     		$key = array_rand($merchant);
     		if ($key && isset($merchant[$key])) {
-    			return $merchant['mid'];
+    			return $merchant[$key]['mid'];
     		}
     	}
     	return false;