* Converts an integer to int.
This commit is contained in:
@@ -40,6 +40,7 @@ class transferTao extends transferModel
|
||||
if(!is_string($value)) continue;
|
||||
if(strpos($value, '$') === false) continue;
|
||||
$params[$param] = isset($getParams[ltrim($value, '$')]) ? $getParams[ltrim($value, '$')] : '';
|
||||
if(is_numeric($params[$param]) && strpos($params[$param], ".") ===false) $params[$param] = (int)$params[$param];
|
||||
}
|
||||
|
||||
/* 调用模块的方法。 */
|
||||
|
||||
Reference in New Issue
Block a user