rabin 2 년 전
부모
커밋
0b8ba87017
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;