From 656aa6a4470ae5787755dec74d8f5bdb24f49679 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Wed, 18 Aug 2021 14:37:47 +0800 Subject: [PATCH] * Revert and correct back to original function comment. --- framework/base/helper.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/helper.class.php b/framework/base/helper.class.php index 4e7958ecf2..1f39f5ec90 100644 --- a/framework/base/helper.class.php +++ b/framework/base/helper.class.php @@ -843,7 +843,7 @@ function getWebRoot($full = false) /** * 当数组/对象变量$var存在$key项时,返回存在的对应值或设定值,否则返回$key或不存在的设定值。 - * When there is a $key in the array/object $var, it returns it or $valueWhenExists, otherwise returns $key or $valueWhenNone. + * When the $var has the $key, return it, else result one default value. * * @param array|object $var * @param string|int $key