* Remove trim for get param function in case that int type.

This commit is contained in:
dingguodong
2021-08-11 16:15:43 +08:00
parent bb451c3432
commit e6db5a9d96
+1 -1
View File
@@ -82,7 +82,7 @@ class baseEntry
*/
public function param($key, $defaultValue = '')
{
if(isset($_GET[$key])) return trim($_GET[$key]);
if(isset($_GET[$key])) return $_GET[$key];
return $defaultValue;
}