Commit b6918f76 authored by rlgy's avatar rlgy

update

parent 73d2323b
...@@ -58,7 +58,7 @@ class AwardController extends Controller ...@@ -58,7 +58,7 @@ class AwardController extends Controller
return 0; return 0;
} }
$hash = $hash['result']['hash']; $hash = $hash['result']['hash'];
$matchs = preg_match_all('/\d+/', $hash, $matchs); preg_match_all('/\d+/', $hash, $matchs);
$hash = implode('', $matchs[0]); $hash = implode('', $matchs[0]);
$hash = substr($hash, -2); $hash = substr($hash, -2);
if (!ctype_digit($hash)) { if (!ctype_digit($hash)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment